create /etc/config if it doesn't exist
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 5 Jan 2006 00:54:46 +0000 (00:54 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 5 Jan 2006 00:54:46 +0000 (00:54 +0000)
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

index 57e6ba1..f782d41 100755 (executable)
@@ -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
This page took 0.026638 seconds and 4 git commands to generate.