diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-10-23 11:52:22 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-10-23 11:52:22 +0200 |
commit | 24ad479554f7f455548d92f6ddf048b12ce32e3e (patch) | |
tree | 76d0e3131702699f7c2997d028c13a30a273e984 /package/base-files/src/etc | |
parent | f59297dd236b2892205e28c734eb585587651532 (diff) |
sync before umount
Diffstat (limited to 'package/base-files/src/etc')
-rw-r--r-- | package/base-files/src/etc/rc.shutdown | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/base-files/src/etc/rc.shutdown b/package/base-files/src/etc/rc.shutdown index 381669a57..8716dc59e 100644 --- a/package/base-files/src/etc/rc.shutdown +++ b/package/base-files/src/etc/rc.shutdown @@ -1,5 +1,6 @@ #!/bin/sh +cd / +sync for i in $(grep -v ^# /etc/fstab 2>/dev/null|awk '{ print $2 }');do - printf Unmounting $i - umount $i + umount $i 2>/dev/null done |