summaryrefslogtreecommitdiff
path: root/scripts/rl-system.init
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-03-05 13:52:59 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-03-05 13:52:59 -0800
commit4fc58ba2e0563d5108d46262b2abcd79d1bb5141 (patch)
tree487d059b4499a16d4bdc7dbd1c6de2789c88d93e /scripts/rl-system.init
parent79462a99c2f29cb8cea0d98683e6d2f8a63c824b (diff)
downloadvyatta-cfg-quagga-4fc58ba2e0563d5108d46262b2abcd79d1bb5141.tar.gz
vyatta-cfg-quagga-4fc58ba2e0563d5108d46262b2abcd79d1bb5141.zip
Fix format of date from rl-system.init
Bugfix: 2946 Use logger instead of date command
Diffstat (limited to 'scripts/rl-system.init')
-rwxr-xr-xscripts/rl-system.init3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init
index 61730d31..a08095a1 100755
--- a/scripts/rl-system.init
+++ b/scripts/rl-system.init
@@ -53,8 +53,7 @@ fi
syslog ()
{
-
- date -u "+%b %d %H:%M:%S $hostname $progname: $*" >> $LOGFILE
+ logger -p user.warning -t "$progname" "$*"
}
shopt -s extglob nullglob