diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2011-05-12 13:57:34 -0700 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2011-05-12 13:57:34 -0700 |
commit | a00c48447392f8ce7902b6c2f99269cf56340eea (patch) | |
tree | 3662511174abde318d744dcc8717886a1d978dab | |
parent | dba5705ec29dc535a91cea4527ff82254fc07e05 (diff) | |
download | vyatta-cfg-quagga-a00c48447392f8ce7902b6c2f99269cf56340eea.tar.gz vyatta-cfg-quagga-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.
-rwxr-xr-x | scripts/rl-system.init | 9 |
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" "$*" |