aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/init.d/umount
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/etc/init.d/umount')
-rwxr-xr-xpackage/base-files/files/etc/init.d/umount8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/base-files/files/etc/init.d/umount b/package/base-files/files/etc/init.d/umount
new file mode 100755
index 0000000..349b2b3
--- /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
+ /bin/umount -a -d -r
+}