summaryrefslogtreecommitdiffstats
path: root/openwrt/package/base-files/default/bin/firstboot
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/base-files/default/bin/firstboot')
-rwxr-xr-xopenwrt/package/base-files/default/bin/firstboot2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/base-files/default/bin/firstboot b/openwrt/package/base-files/default/bin/firstboot
index cef258cf3..1c3d1a7d6 100755
--- a/openwrt/package/base-files/default/bin/firstboot
+++ b/openwrt/package/base-files/default/bin/firstboot
@@ -42,7 +42,7 @@ echo "done"
echo -n "setting up symlinks... "
for file in $(cd /rom; find * -type f; find * -type l;)
do {
- [ "${file%/*}" = "usr/lib/ipkg/info" ] && {
+ [ "${file%/*}" = "usr/lib/ipkg/info" -o "${file%/*}" = "etc/config" ] && {
cp -f /rom/$file $file
} || {
ln -sf /rom/$file $file