summaryrefslogtreecommitdiff
path: root/package/base-files/files.old/lib/firstboot/30_no_fo_pivot
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files.old/lib/firstboot/30_no_fo_pivot')
-rw-r--r--package/base-files/files.old/lib/firstboot/30_no_fo_pivot11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/base-files/files.old/lib/firstboot/30_no_fo_pivot b/package/base-files/files.old/lib/firstboot/30_no_fo_pivot
new file mode 100644
index 0000000..b5c2601
--- /dev/null
+++ b/package/base-files/files.old/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