From 0bedba966f2010684cc4c0589d0743d4948734cd Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 5 Jan 2006 00:54:46 +0000 Subject: [PATCH] create /etc/config if it doesn't exist SVN-Revision: 2832 --- .../package/base-files/files/brcm-2.6/etc/init.d/S05netconfig | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2