diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-01-05 00:54:46 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-01-05 00:54:46 +0000 |
commit | 661c255a540b3f7e43f4f937a45cf3e7d2e433d8 (patch) | |
tree | 2ad9a602f19babea43fff002a3ff75ac63a6bbb5 /openwrt/target/linux | |
parent | e3420b5ead820458aed5ee9325be2526eb9b890d (diff) |
create /etc/config if it doesn't exist
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2832 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux')
-rwxr-xr-x | openwrt/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openwrt/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig b/openwrt/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig index 57e6ba1a34..f782d41c08 100755 --- a/openwrt/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig +++ b/openwrt/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 |