From f0120f69fce22e64e2ce0b2a8e6094a880e51cf1 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/openwrt@2832 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'target/linux/package') 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 57e6ba1a3..f782d41c0 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 -- cgit v1.2.3