]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - src/initscripts/init.d/mountfs
Merge remote-tracking branch 'origin/next' into thirteen
[people/teissler/ipfire-2.x.git] / src / initscripts / init.d / mountfs
index 43ef02dc80205958703b5dc43775d46c6a2edd8b..c56100979f1d1f4271212553fa80eb3ac92acabb 100644 (file)
@@ -40,6 +40,12 @@ case "${1}" in
                ;;
 
        stop)
+               boot_mesg "Syncing discs..."
+               sync && sync
+               sleep 2
+               sync && sync
+               evaluate_retval
+
                boot_mesg "Unmounting all other currently mounted file systems..."
                umount -a -d -r &>/dev/null
                evaluate_retval