aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/firstboot/30_no_fo_pivot
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/lib/firstboot/30_no_fo_pivot')
-rw-r--r--package/base-files/files/lib/firstboot/30_no_fo_pivot11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/base-files/files/lib/firstboot/30_no_fo_pivot b/package/base-files/files/lib/firstboot/30_no_fo_pivot
new file mode 100644
index 000000000..b5c2601ee
--- /dev/null
+++ b/package/base-files/files/lib/firstboot/30_no_fo_pivot
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# Copyright (C) 2006-2010 OpenWrt.org
+# Copyright (C) 2010 Vertical Communications
+
+no_fo_pivot() {
+ # switch to the new (empty) jffs2
+ fopivot /overlay /rom 1
+}
+
+boot_hook_add no_fo no_fo_pivot