X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/7885524586983ec44edf08324cfc7c63574b5388..eb1c48aeec6f13addccbc6363f52608fa4d8e322:/package/base-files/brcm-2.4/bin/firstboot diff --git a/package/base-files/brcm-2.4/bin/firstboot b/package/base-files/brcm-2.4/bin/firstboot index 28189780b..b65d3ee98 100755 --- a/package/base-files/brcm-2.4/bin/firstboot +++ b/package/base-files/brcm-2.4/bin/firstboot @@ -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() { # ./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