aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/default/bin/firstboot
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/default/bin/firstboot')
-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 5d3d9677ee..28189780bd 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