mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-03 18:41:29 +02:00
initskripts: add disc sync before unmounting filesystems.
This commit is contained in:
@@ -40,6 +40,10 @@ case "${1}" in
|
||||
;;
|
||||
|
||||
stop)
|
||||
boot_mesg "Syncing discs..."
|
||||
sync && sync
|
||||
evaluate_retval
|
||||
|
||||
boot_mesg "Unmounting all other currently mounted file systems..."
|
||||
umount -a -d -r &>/dev/null
|
||||
evaluate_retval
|
||||
|
||||
Reference in New Issue
Block a user