summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default/bin/firstboot
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-21 14:02:53 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-21 14:02:53 +0000
commit629b5c0767c8557ab688582bb6bd86c448f8c243 (patch)
tree57b8983b840371a9290d4ead137ab9ea8f457c5f /openwrt/package/base-files/default/bin/firstboot
parentaf1defb8112803209042a689abfe38beaf1a4554 (diff)
add config file /etc/config/network, add board-specific network.overrides (instead of nvram.overrides)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1519 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 cef258cf39..1c3d1a7d66 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