From 4293571c11d68f9622c20ccaedde5e4f7d2e9300 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 25 Jul 2000 06:35:26 +0000 Subject: unmount usb filesystem on shutdown --- rc.d/init.d/halt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rc.d') diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index 22f008c9..7db1c206 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -99,6 +99,8 @@ if [ -x /sbin/raidstop -a -f /etc/raidtab ]; then #runcmd "Turning off RAID" /sbin/raidstop -a fi +[ -d /proc/bus/usb ] && umount /proc/bus/usb + runcmd "Unmounting proc file system" umount /proc # Remount read only anything that's left mounted. -- cgit v1.2.1