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 d0a3c18..4ca6877 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