unmount filesystems at shutdown
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 10 May 2007 10:45:04 +0000 (10:45 +0000)
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 10 May 2007 10:45:04 +0000 (10:45 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7166 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/files/etc/init.d/umount [new file with mode: 0755]

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
@@ -0,0 +1,8 @@
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2006 OpenWrt.org 
+
+STOP=99
+stop() {
+       sync
+       umount -a -r
+}