mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
unmount filesystems at shutdown
SVN-Revision: 7166
This commit is contained in:
parent
bef40307bb
commit
f0fa2a3de5
8
package/base-files/files/etc/init.d/umount
Executable file
8
package/base-files/files/etc/init.d/umount
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh /etc/rc.common
|
||||||
|
# Copyright (C) 2006 OpenWrt.org
|
||||||
|
|
||||||
|
STOP=99
|
||||||
|
stop() {
|
||||||
|
sync
|
||||||
|
umount -a -r
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user