base-files: prevent possible sourcing of JFFS2 meta files when merging overlay hooks
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 23 Sep 2010 17:32:58 +0000 (17:32 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 23 Sep 2010 17:32:58 +0000 (17:32 +0000)
SVN-Revision: 23114

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

index d0a3c18102ed01c6dbfdef36654332d396082678..4ca6877beade16b331904781779552a037b402a2 100644 (file)
@@ -6,7 +6,7 @@ merge_overlay_hooks() {
                echo "- merge overlay components -"
 
                mkdir -p /tmp/preinit-hook-merge
-               ln -sf /lib/preinit/* /tmp/overlay/lib/preinit/* /tmp/preinit-hook-merge/
+               ln -sf /lib/preinit/* /tmp/overlay/lib/preinit/[0-9][0-9]_* /tmp/preinit-hook-merge/
 
                boot_hook_splice_start