summaryrefslogtreecommitdiff
path: root/scripts/rl-system.init
diff options
context:
space:
mode:
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" "$*"