aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-09-07 20:10:55 +0000
committerBill Nottingham <notting@redhat.com>1999-09-07 20:10:55 +0000
commitef608d73d27c2e70bdc34f874bf758a5c9623872 (patch)
tree38035447a437c2e978f75c33fbb795e0e5beca43 /rc.d
parentbf2474a63c31403c2ea1e8def9aafb58beaee15b (diff)
downloadinitscripts-ef608d73d27c2e70bdc34f874bf758a5c9623872.tar
initscripts-ef608d73d27c2e70bdc34f874bf758a5c9623872.tar.gz
initscripts-ef608d73d27c2e70bdc34f874bf758a5c9623872.tar.bz2
initscripts-ef608d73d27c2e70bdc34f874bf758a5c9623872.tar.xz
initscripts-ef608d73d27c2e70bdc34f874bf758a5c9623872.zip
*** empty log message ***
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit5
1 files changed, 2 insertions, 3 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 0755d5f2..749cc592 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -377,8 +377,6 @@ if [ ! -f /fastboot ]; then
fi
fi
-
-{
# Mount all other filesystems (except for NFS and /proc, which is already
# mounted). Contrary to standard usage,
# filesystems are NOT unmounted in single user mode.
@@ -388,7 +386,7 @@ action "Mounting local filesystems" mount -a -t nonfs,smbfs,ncpfs,proc
if [ -f /.unconfigured ]; then
if [ -x /usr/sbin/rootconfig ]; then
/usr/sbin/rootconfig
- else if [ -x /usr/bin/passwd ]; then
+ elif [ -x /usr/bin/passwd ]; then
/usr/bin/passwd root
fi
if [ -x /usr/sbin/netconfig ]; then
@@ -426,6 +424,7 @@ if [ -x /sbin/quotaon ]; then
action "Turning on user and group quotas for local filesystems" /sbin/quotaon -a
fi
+{
# Clean out /etc.
rm -f /etc/mtab~ /fastboot /fsckoptions /forcefsck