summaryrefslogtreecommitdiff
path: root/package/base-files/files.old/lib/preinit/90_mount_no_jffs2
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files.old/lib/preinit/90_mount_no_jffs2')
-rw-r--r--package/base-files/files.old/lib/preinit/90_mount_no_jffs212
1 files changed, 12 insertions, 0 deletions
diff --git a/package/base-files/files.old/lib/preinit/90_mount_no_jffs2 b/package/base-files/files.old/lib/preinit/90_mount_no_jffs2
new file mode 100644
index 0000000..d8ad4ae
--- /dev/null
+++ b/package/base-files/files.old/lib/preinit/90_mount_no_jffs2
@@ -0,0 +1,12 @@
+#!/bin/sh
+# Copyright (C) 2006-2010 OpenWrt.org
+# Copyright (C) 2010 Vertical Communications
+
+do_mount_no_jffs2() {
+ check_skip || {
+ mount_no_jffs2 && pi_mount_skip_next=true
+ }
+}
+
+boot_hook_add preinit_mount_root do_mount_no_jffs2
+