summaryrefslogtreecommitdiff
path: root/scripts/rl-system.init
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2011-05-12 13:57:34 -0700
committerStephen Hemminger <shemminger@vyatta.com>2011-05-12 13:57:34 -0700
commita00c48447392f8ce7902b6c2f99269cf56340eea (patch)
tree3662511174abde318d744dcc8717886a1d978dab /scripts/rl-system.init
parentdba5705ec29dc535a91cea4527ff82254fc07e05 (diff)
downloadvyatta-cfg-system-a00c48447392f8ce7902b6c2f99269cf56340eea.tar.gz
vyatta-cfg-system-a00c48447392f8ce7902b6c2f99269cf56340eea.zip
Remove unused parts of rl-system.init
The script was looking up hostname and setting $LOGFILE, but these parts are never used in current code.
Diffstat (limited to 'scripts/rl-system.init')
-rwxr-xr-xscripts/rl-system.init9
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init
index 115bbc7d..d6f974f7 100755
--- a/scripts/rl-system.init
+++ b/scripts/rl-system.init
@@ -27,7 +27,6 @@ source /etc/default/vyatta
: ${vyatta_bindir:=${vyatta_prefix}/bin}
: ${vyatta_sbindir:=${vyatta_prefix}/sbin}
: ${vyatta_sysconfdir:=${vyatta_prefix}/etc}
-: ${hostname:=`hostname -s`}
[[ $PATH == *${vyatta_bindir}* ]] || PATH+=:${vyatta_bindir}
[[ $PATH == *${vyatta_sbindir}* ]] || PATH+=:${vyatta_sbindir}
@@ -40,14 +39,6 @@ export DEBIAN_FRONTEND=noninteractive
## BOOTFILE is provided by ofr.init
: ${BOOTFILE:=$prefix/etc/config/config.boot}
-if [ -z "$LOGFILE" ] ; then
- if touch /var/log/messages &> /dev/null ; then
- LOGFILE=/var/log/messages
- else
- LOGFILE=/dev/null
- fi
-fi
-
syslog ()
{
logger -p user.warning -t "$progname" "$*"