summaryrefslogtreecommitdiffstats
path: root/package/base-files/files.old/lib/preinit/99_10_mount_no_mtd
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files.old/lib/preinit/99_10_mount_no_mtd')
-rw-r--r--package/base-files/files.old/lib/preinit/99_10_mount_no_mtd12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/base-files/files.old/lib/preinit/99_10_mount_no_mtd b/package/base-files/files.old/lib/preinit/99_10_mount_no_mtd
new file mode 100644
index 000000000..c4f38e415
--- /dev/null
+++ b/package/base-files/files.old/lib/preinit/99_10_mount_no_mtd
@@ -0,0 +1,12 @@
+#!/bin/sh
+# Copyright (C) 2006-2010 OpenWrt.org
+# Copyright (C) 2010 Vertical Communications
+
+do_mount_no_mtd() {
+ check_skip || {
+ mount_no_mtd
+ }
+}
+
+boot_hook_add preinit_mount_root do_mount_no_mtd
+