summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-04-13 14:43:47 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-04-13 14:43:47 +0000
commit02696c07579c6cb9230691ac3ab47d5022924f40 (patch)
tree8ca22148d5a8cac85fe441f7e4d4934e6e78e2e5 /openwrt/package/base-files
parent8f766cb0aabd8863f23f82addb4d8d0302e0e02f (diff)
downloadmtk-20170518-02696c07579c6cb9230691ac3ab47d5022924f40.zip
mtk-20170518-02696c07579c6cb9230691ac3ab47d5022924f40.tar.gz
mtk-20170518-02696c07579c6cb9230691ac3ab47d5022924f40.tar.bz2
fix typo in firstboot - /etc/config/* is now a file instead of a symlink
SVN-Revision: 3633
Diffstat (limited to 'openwrt/package/base-files')
-rwxr-xr-xopenwrt/package/base-files/default/bin/firstboot8
1 files changed, 4 insertions, 4 deletions
diff --git a/openwrt/package/base-files/default/bin/firstboot b/openwrt/package/base-files/default/bin/firstboot
index 5d3d967..2818978 100755
--- 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