projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add common functions for the new config file format
[openwrt.git]
/
openwrt
/
package
/
base-files
/
default
/
bin
/
firstboot
diff --git
a/openwrt/package/base-files/default/bin/firstboot
b/openwrt/package/base-files/default/bin/firstboot
index
5d3d967
..
2818978
100755
(executable)
--- a/
openwrt/package/base-files/default/bin/firstboot
+++ b/
openwrt/package/base-files/default/bin/firstboot
@@
-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
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
*) ln -sf /rom/${file#./*} $file;;
esac
done
This page took
0.022917 seconds
and
4
git commands to generate.