fix building when host and target systems are same arch
[openwrt.git] / openwrt / package / base-files / default / bin / firstboot
index cef258c..1c3d1a7 100755 (executable)
@@ -42,7 +42,7 @@ echo "done"
 echo -n "setting up symlinks... "
 for file in $(cd /rom; find *  -type f; find *  -type l;)
 do {
-  [ "${file%/*}" = "usr/lib/ipkg/info" ] && {
+  [ "${file%/*}" = "usr/lib/ipkg/info" -o "${file%/*}" = "etc/config" ] && {
     cp -f /rom/$file $file
   } || {
     ln -sf /rom/$file $file
This page took 0.022738 seconds and 4 git commands to generate.