Fixed duplicated content in file in commit 23111
authorDaniel Dickinson <crazycshore@gmail.com>
Thu, 23 Sep 2010 14:06:47 +0000 (14:06 +0000)
committerDaniel Dickinson <crazycshore@gmail.com>
Thu, 23 Sep 2010 14:06:47 +0000 (14:06 +0000)
SVN-Revision: 23112

package/base-files/files/lib/preinit/41_merge_overlay_hooks

index df39db15f5a4fa437242e3d90c2fff958e56812f..d0a3c18102ed01c6dbfdef36654332d396082678 100644 (file)
@@ -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