add -f option to skip trx check
[openwrt-10.03/.git] / package / base-files / default / bin / firstboot
index cef258cf3980fcbe48bb70170ef9888020d43995..1c3d1a7d661479904be7a9944bcf5a8c3b796f22 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