From b1c3fe8675bf6d6831b2d63adb42dc43ef96f69e Mon Sep 17 00:00:00 2001 From: Florian La Roche Date: Wed, 26 Jun 2002 09:02:16 +0000 Subject: - start cleaning up some sh coding things --- rc.d/rc.sysinit | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'rc.d/rc.sysinit') diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 61e21c4e..0d0786b1 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -1,19 +1,18 @@ #!/bin/bash # -# /etc/rc.sysinit - run once at boot time +# /etc/rc.d/rc.sysinit - run once at boot time # # Taken in part from Miquel van Smoorenburg's bcheckrc. # # Rerun ourselves through initlog -if [ -z "$IN_INITLOG" ]; then - [ -f /sbin/initlog ] && exec /sbin/initlog $INITLOG_ARGS -r /etc/rc.sysinit +if [ -z "$IN_INITLOG" -a -x /sbin/initlog ]; then + exec /sbin/initlog $INITLOG_ARGS -r /etc/rc.d/rc.sysinit fi # If we're using devfs, start devfsd now - we need the old device names [ -e /dev/.devfsd -a -x /sbin/devfsd ] && /sbin/devfsd /dev -# Set the path PATH=/bin:/sbin:/usr/bin:/usr/sbin export PATH -- cgit v1.2.1