aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.d/init.d/halt2
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.