summaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-04-13 14:43:47 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-04-13 14:43:47 +0000
commit711d5559a77d8acc3a0b479c961bf0299a8d31bb (patch)
tree1e6ce2f5c42072ebcdc0f241526b1ecbccdd3646 /package/base-files
parent22f75917d195dd9c751d39ae38cb37c1fc2eccb1 (diff)
fix typo in firstboot - /etc/config/* is now a file instead of a symlink
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3633 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/default/bin/firstboot8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/base-files/default/bin/firstboot b/package/base-files/default/bin/firstboot
index 5d3d9677e..28189780b 100755
--- a/package/base-files/default/bin/firstboot
+++ b/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