summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dickinson <crazycshore@gmail.com>2010-09-23 14:06:47 +0000
committerDaniel Dickinson <crazycshore@gmail.com>2010-09-23 14:06:47 +0000
commitb125e3f68e91badb661b35e89345ad04e21ee967 (patch)
tree7b44eeb69d7e0a82080a2a303a0d5a75025059b0
parent7fe34123d63d2265258e107a5cfc6a25edcb5531 (diff)
downloadmtk-20170518-b125e3f68e91badb661b35e89345ad04e21ee967.zip
mtk-20170518-b125e3f68e91badb661b35e89345ad04e21ee967.tar.gz
mtk-20170518-b125e3f68e91badb661b35e89345ad04e21ee967.tar.bz2
Fixed duplicated content in file in commit 23111
SVN-Revision: 23112
-rw-r--r--package/base-files/files/lib/preinit/41_merge_overlay_hooks24
1 files changed, 0 insertions, 24 deletions
diff --git a/package/base-files/files/lib/preinit/41_merge_overlay_hooks b/package/base-files/files/lib/preinit/41_merge_overlay_hooks
index df39db1..d0a3c18 100644
--- a/package/base-files/files/lib/preinit/41_merge_overlay_hooks
+++ b/package/base-files/files/lib/preinit/41_merge_overlay_hooks
@@ -22,27 +22,3 @@ merge_overlay_hooks() {
}
boot_hook_add preinit_mount_root merge_overlay_hooks
-#!/bin/sh
-# Copyright (C) 2010 OpenWrt.org
-
-merge_overlay_hooks() {
- jffs2_not_mounted || [ ! -d /tmp/overlay/lib/preinit ] || {
- echo "- merge overlay components -"
-
- mkdir -p /tmp/preinit-hook-merge
- ln -sf /lib/preinit/* /tmp/overlay/lib/preinit/* /tmp/preinit-hook-merge/
-
- boot_hook_splice_start
-
- local pipart
- for pipart in /tmp/preinit-hook-merge/*; do
- . $pipart
- done
-
- boot_hook_splice_finish
-
- rm -rf /tmp/preinit-hook-merge
- }
-}
-
-boot_hook_add preinit_mount_root merge_overlay_hooks