From 661c255a540b3f7e43f4f937a45cf3e7d2e433d8 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 5 Jan 2006 00:54:46 +0000 Subject: create /etc/config if it doesn't exist git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2832 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'openwrt/target/linux/package') 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 57e6ba1a3..f782d41c0 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 -- cgit v1.2.3