mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 16:09:44 +01:00
unmount filesystems at shutdown
SVN-Revision: 7166
This commit is contained in:
parent
bef40307bb
commit
f0fa2a3de5
1 changed files with 8 additions and 0 deletions
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…
Add table
Reference in a new issue