add preinit modularization work by Daniel Dickinson (cshore)
[openwrt.git] / package / base-files / files / lib / firstboot / 99_10_no_fo_cleanup
diff --git a/package/base-files/files/lib/firstboot/99_10_no_fo_cleanup b/package/base-files/files/lib/firstboot/99_10_no_fo_cleanup
new file mode 100644 (file)
index 0000000..5eddfb1
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# Copyright (C) 2006-2010 OpenWrt.org
+# Copyright (C) 2010 Vertical Communications
+
+no_fo_cleanup() {
+    echo "done"
+    umount -l /jffs
+    umount -l /tmp/root
+    exit 0
+}
+
+boot_hook_add no_fo no_fo_cleanup
This page took 0.018539 seconds and 4 git commands to generate.