aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorFlorian La Roche <laroche@redhat.com>2002-06-26 09:34:04 +0000
committerFlorian La Roche <laroche@redhat.com>2002-06-26 09:34:04 +0000
commitef532cbd4317a6ecf56d894d4f1532aca2b8463e (patch)
treef08e63bf47c86fbe057a75134608fc739ba7f188 /rc.d/rc.sysinit
parent8136980283f7c19d4e5069ad7b2cfe7e63865dfa (diff)
downloadinitscripts-ef532cbd4317a6ecf56d894d4f1532aca2b8463e.tar
initscripts-ef532cbd4317a6ecf56d894d4f1532aca2b8463e.tar.gz
initscripts-ef532cbd4317a6ecf56d894d4f1532aca2b8463e.tar.bz2
initscripts-ef532cbd4317a6ecf56d894d4f1532aca2b8463e.tar.xz
initscripts-ef532cbd4317a6ecf56d894d4f1532aca2b8463e.zip
- further eliminate PATH settings
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit8
1 files changed, 0 insertions, 8 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 0d0786b1..fe1148ef 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -13,23 +13,16 @@ 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
-PATH=/bin:/sbin:/usr/bin:/usr/sbin
-export PATH
-
HOSTNAME=`/bin/hostname`
-
-# Read in config data.
if [ -f /etc/sysconfig/network ]; then
. /etc/sysconfig/network
else
NETWORKING=no
fi
-
if [ -z "$HOSTNAME" -o "$HOSTNAME" = "(none)" ]; then
HOSTNAME=localhost
fi
-# Source functions
. /etc/init.d/functions
# Print a banner. ;)
@@ -54,7 +47,6 @@ fi
/bin/dmesg -n $LOGLEVEL
# Mount /proc (done here so volume labels can work with fsck)
-
action $"Mounting proc filesystem: " mount -n -t proc /proc /proc
# Unmount the initrd, if necessary