fix shell escaping bug in append() function
[openwrt.git] / package / base-files / brcm-2.4 / bin / firstboot
index 2818978..b65d3ee 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id$
+# Copyright (C) 2006 OpenWrt.org
 
 rom=$(awk '/squashfs/ {print $2}' /proc/mounts)
 jffs=$(awk '/jffs2/ {print $2}' /proc/mounts)
@@ -22,7 +22,7 @@ dupe() { # <new_root> <old_root>
                ./rom/note) ;; #nothing
                ./etc/config*|\
                ./etc/resolv.conf|\
-               ./usr/lib/ipkg/info) cp -af $2/$file $file;;
+               ./usr/lib/ipkg/info/*) cp -af $2/$file $file;;
                *) ln -sf /rom/${file#./*} $file;;
                esac
        done
This page took 0.021255 seconds and 4 git commands to generate.