mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-11 11:35:54 +02:00
initskripts: add disc sync before unmounting filesystems.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
etc/system-release
|
||||
etc/issue
|
||||
etc/rc.d/init.d/mountfs
|
||||
etc/rc.d/init.d/smartenabler
|
||||
srv/web/ipfire/cgi-bin/chpasswd.cgi
|
||||
srv/web/ipfire/cgi-bin/hardwaregraphs.cgi
|
||||
|
||||
@@ -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