summaryrefslogtreecommitdiff
path: root/target/linux/package
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-05 00:54:46 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-05 00:54:46 +0000
commitf0120f69fce22e64e2ce0b2a8e6094a880e51cf1 (patch)
tree67abe56b796eaab2495cdec16307bcc284aeef72 /target/linux/package
parentd9661242955193f7a0bfe846568c1ef72a037b37 (diff)
create /etc/config if it doesn't exist
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2832 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/package')
-rwxr-xr-xtarget/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig b/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig
index 57e6ba1a34..f782d41c08 100755
--- a/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig
+++ b/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig
@@ -2,6 +2,7 @@
[ -e /etc/config/network ] && exit 0
(
+ mkdir -p /etc/config
if [ "$(/usr/bin/head -c4 /dev/mtdblock/1 | /usr/bin/tail -c3)" = "ELF" ]; then
# WGT634u
echo boardtype=wgt634u