diff options
author | Bill Nottingham <notting@redhat.com> | 2000-07-25 06:35:26 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2000-07-25 06:35:26 +0000 |
commit | 4293571c11d68f9622c20ccaedde5e4f7d2e9300 (patch) | |
tree | 339b72f5141cd01a06b793cd9c520b8984acce13 /rc.d/init.d | |
parent | 6f4831def652759ede8fbcb69e08ccf813b92df2 (diff) | |
download | initscripts-4293571c11d68f9622c20ccaedde5e4f7d2e9300.tar initscripts-4293571c11d68f9622c20ccaedde5e4f7d2e9300.tar.gz initscripts-4293571c11d68f9622c20ccaedde5e4f7d2e9300.tar.bz2 initscripts-4293571c11d68f9622c20ccaedde5e4f7d2e9300.tar.xz initscripts-4293571c11d68f9622c20ccaedde5e4f7d2e9300.zip |
unmount usb filesystem on shutdown
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-x | rc.d/init.d/halt | 2 |
1 files changed, 2 insertions, 0 deletions
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. |