summaryrefslogtreecommitdiff
path: root/package/base-files/src/etc/init.d/umount
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/src/etc/init.d/umount')
-rwxr-xr-xpackage/base-files/src/etc/init.d/umount2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/src/etc/init.d/umount b/package/base-files/src/etc/init.d/umount
index bcd545999..49bd5a020 100755
--- a/package/base-files/src/etc/init.d/umount
+++ b/package/base-files/src/etc/init.d/umount
@@ -5,7 +5,7 @@ case $1 in
autostop)
cd /
sync
- for i in $(grep -v ^# /etc/fstab 2>/dev/null|awk '{ print $2 }');do
+ for i in $(grep -v ^# /etc/fstab 2>/dev/null|awk '{ print $2 }'|grep -v none);do
umount $i 2>/dev/null
done
;;