diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-01-05 00:54:46 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-01-05 00:54:46 +0000 |
commit | 12d12b4cd8fde8068487906d9bc05f8fc541279b (patch) | |
tree | 67abe56b796eaab2495cdec16307bcc284aeef72 /target | |
parent | 41a6d3f1900fd80108517727f5191e7b37f04c9e (diff) | |
download | upstream-12d12b4cd8fde8068487906d9bc05f8fc541279b.tar.gz upstream-12d12b4cd8fde8068487906d9bc05f8fc541279b.tar.bz2 upstream-12d12b4cd8fde8068487906d9bc05f8fc541279b.zip |
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')
-rwxr-xr-x | target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig | 1 |
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 |