aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorFlorian La Roche <laroche@redhat.com>2002-06-26 09:02:16 +0000
committerFlorian La Roche <laroche@redhat.com>2002-06-26 09:02:16 +0000
commitb1c3fe8675bf6d6831b2d63adb42dc43ef96f69e (patch)
tree4298e55eca3bc8b767ae7cf695261cd119d75712 /rc.d/rc.sysinit
parenta12d5004ebd0035494247f71c5cebc060729c569 (diff)
downloadinitscripts-b1c3fe8675bf6d6831b2d63adb42dc43ef96f69e.tar
initscripts-b1c3fe8675bf6d6831b2d63adb42dc43ef96f69e.tar.gz
initscripts-b1c3fe8675bf6d6831b2d63adb42dc43ef96f69e.tar.bz2
initscripts-b1c3fe8675bf6d6831b2d63adb42dc43ef96f69e.tar.xz
initscripts-b1c3fe8675bf6d6831b2d63adb42dc43ef96f69e.zip
- start cleaning up some sh coding things
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit7
1 files changed, 3 insertions, 4 deletions
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