X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c31ac521e420aa0cfd3ddbc0859b29b0e2a3ff3e..dd755e947f8ae1e657dfa6c16b7756d78074e013:/target/default/target_skeleton/bin/firstboot?ds=sidebyside diff --git a/target/default/target_skeleton/bin/firstboot b/target/default/target_skeleton/bin/firstboot index 5076d1c18..2e7481db8 100755 --- a/target/default/target_skeleton/bin/firstboot +++ b/target/default/target_skeleton/bin/firstboot @@ -37,7 +37,11 @@ echo "done" echo -n "setting up symlinks... " for file in $(cd /rom; find * -type f; find * -type l;) do { - ln -sf /rom/$file $file + [ "${file%/*}" = "usr/lib/ipkg/info" ] && { + cp -f /rom/$file $file + } || { + ln -sf /rom/$file $file + } } done echo "done"