diff options
author | Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> | 2011-06-24 09:44:02 +0200 |
---|---|---|
committer | Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> | 2011-06-24 13:52:59 +0200 |
commit | 1e5360b4c9df3ef626410520c2c347dda01782f5 (patch) | |
tree | d95759980c3a0161319156eef0d5538b68ce72a0 /rc.shutdown | |
parent | 3c39d6fccf743febec3cb1cba9b8e0ed4c8fd8a3 (diff) |
Simplify unmounting filesystems
This also keeps all tmpfs allways. Some might be in still in use because of a running splash daemon etc.
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-x | rc.shutdown | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/rc.shutdown b/rc.shutdown index 2d23554..39adaad 100755 --- a/rc.shutdown +++ b/rc.shutdown @@ -52,12 +52,8 @@ if [[ $USELVM = [Yy][Ee][Ss] && -x $(type -P lvm) && -d /sys/block ]]; then fi stat_busy "Unmounting Filesystems" -if grep -q devtmpfs /proc/filesystems &>/dev/null; then - umount -a -r -t nosysfs,noproc,nodevtmpfs,nodevpts -O no_netdev -else # if we don't have devtmpfs support, /dev is mounted as tmpfs, so don't unmount it - umount -a -r -t notmpfs,nosysfs,noproc,nodevpts -O no_netdev -fi + umount -a -r -t nodevtmpfs,notmpfs,nosysfs,noproc,nodevpts -O no_netdev stat_done run_hook shutdown_postumount |