aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/firstboot/99_10_no_fo_cleanup
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/lib/firstboot/99_10_no_fo_cleanup')
-rw-r--r--package/base-files/files/lib/firstboot/99_10_no_fo_cleanup13
1 files changed, 13 insertions, 0 deletions
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
index 000000000..6dedcb1e8
--- /dev/null
+++ b/package/base-files/files/lib/firstboot/99_10_no_fo_cleanup
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# Copyright (C) 2006-2010 OpenWrt.org
+# Copyright (C) 2010 Vertical Communications
+
+no_fo_cleanup() {
+ echo "done"
+ umount -l /overlay
+ umount -l /tmp/root
+ exit 0
+}
+
+boot_hook_add no_fo no_fo_cleanup