From 2bbdcc88c616c7157284b82062caab4d351207fc Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 8 Dec 1999 16:36:44 +0000 Subject: unmount /proc after we're done with it. --- rc.d/init.d/halt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rc.d') diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index e558d1d1..6d832914 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -83,7 +83,7 @@ do retry=$(($retry-1)) sig=-9 done -runcmd "Unmounting proc file system" umount /proc + mount -n -o remount,ro / # turn off raid @@ -101,6 +101,8 @@ if [ -x /sbin/raidstop -a -f /etc/raidtab ]; then #runcmd "Turning off RAID" /sbin/raidstop -a fi +runcmd "Unmounting proc file system" umount /proc + # Remount read only anything that's left mounted. #echo "Remounting remaining filesystems (if any) readonly" mount | awk '/ext2/ { print $3 }' | while read line; do -- cgit v1.2.1