diff options
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 |