diff options
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-x | rc.d/init.d/halt | 4 |
1 files changed, 3 insertions, 1 deletions
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 |