projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cleanup login script, change firewall example
[openwrt.git]
/
openwrt
/
target
/
default
/
target_skeleton
/
bin
/
firstboot
diff --git
a/openwrt/target/default/target_skeleton/bin/firstboot
b/openwrt/target/default/target_skeleton/bin/firstboot
index
5076d1c
..
2e7481d
100755
(executable)
--- a/
openwrt/target/default/target_skeleton/bin/firstboot
+++ b/
openwrt/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"
This page took
0.019826 seconds
and
4
git commands to generate.