summaryrefslogtreecommitdiff
path: root/package/base-files/src/etc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-09-23 09:13:12 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-09-23 09:13:12 +0200
commitd22b564b8da59fe786ae5cfced0cc79a4d6a052a (patch)
tree9da7df5224ce0a7729bb5005fdea6b8e060270fa /package/base-files/src/etc
parenta4eee64317667b94e86844d565111056c5836c55 (diff)
ignore swap when umounting
Diffstat (limited to 'package/base-files/src/etc')
-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
;;