projects
/
openwrt
/
staging
/
wigyori.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f766cb
)
fix typo in firstboot - /etc/config/* is now a file instead of a symlink
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 13 Apr 2006 14:43:47 +0000
(14:43 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 13 Apr 2006 14:43:47 +0000
(14:43 +0000)
SVN-Revision: 3633
openwrt/package/base-files/default/bin/firstboot
patch
|
blob
|
history
diff --git
a/openwrt/package/base-files/default/bin/firstboot
b/openwrt/package/base-files/default/bin/firstboot
index 5d3d9677ee1304e49dd1067d882d3f9983c5a80e..28189780bd275b1adfbc459091e7a7ee7e875fb8 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
-
"./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