fix typo in firstboot - /etc/config/* is now a file instead of a symlink
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 13 Apr 2006 14:43:47 +0000 (14:43 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 13 Apr 2006 14:43:47 +0000 (14:43 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3633 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/default/bin/firstboot

index 5d3d967..2818978 100755 (executable)
@@ -19,10 +19,10 @@ dupe() { # <new_root> <old_root>
        echo -n "setting up symlinks... "
        for file in $(cd $2; find . -xdev -type f;); do
                case "$file" in
-               "./rom/note") ;; #nothing
-               "./etc/config"|\
-               "./etc/resolv.conf"|\
-               "./usr/lib/ipkg/info") cp -af $2/$file $file;;
+               ./rom/note) ;; #nothing
+               ./etc/config*|\
+               ./etc/resolv.conf|\
+               ./usr/lib/ipkg/info) cp -af $2/$file $file;;
                *) ln -sf /rom/${file#./*} $file;;
                esac
        done
This page took 0.02223 seconds and 4 git commands to generate.