projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unmount filesystems at shutdown
[openwrt-10.03/.git]
/
package
/
base-files
/
files
/
etc
/
init.d
/
umount
diff --git a/package/base-files/files/etc/init.d/umount
b/package/base-files/files/etc/init.d/umount
new file mode 100755
(executable)
index 0000000..
a4e477e
--- /dev/null
+++ b/
package/base-files/files/etc/init.d/umount
@@ -0,0
+1,8
@@
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2006 OpenWrt.org
+
+STOP=99
+stop() {
+ sync
+ umount -a -r
+}