summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/preinit/70_pivot_jffs2_root
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/lib/preinit/70_pivot_jffs2_root')
-rw-r--r--package/base-files/files/lib/preinit/70_pivot_jffs2_root14
1 files changed, 0 insertions, 14 deletions
diff --git a/package/base-files/files/lib/preinit/70_pivot_jffs2_root b/package/base-files/files/lib/preinit/70_pivot_jffs2_root
deleted file mode 100644
index 821bfb14f..000000000
--- a/package/base-files/files/lib/preinit/70_pivot_jffs2_root
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-# Copyright (C) 2006-2010 OpenWrt.org
-# Copyright (C) 2010 Vertical Communications
-
-rootfs_pivot() {
- check_skip || jffs2_not_mounted || {
- echo "switching to jffs2"
- mount -o move /tmp/overlay /overlay 2>&-
- fopivot /overlay /rom && pi_mount_skip_next=true
- }
-}
-
-boot_hook_add preinit_mount_root rootfs_pivot
-