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 | 0bedba966f2010684cc4c0589d0743d4948734cd (patch) | |
tree | 02dd8ef8419ac16c06ae5ece9b1de1010663e5e8 /openwrt/target | |
parent | a27808e671f1d752c43675ee98dcf79b0ed68eeb (diff) | |
download | mtk-20170518-0bedba966f2010684cc4c0589d0743d4948734cd.zip mtk-20170518-0bedba966f2010684cc4c0589d0743d4948734cd.tar.gz mtk-20170518-0bedba966f2010684cc4c0589d0743d4948734cd.tar.bz2 |
create /etc/config if it doesn't exist
SVN-Revision: 2832
Diffstat (limited to 'openwrt/target')
-rwxr-xr-x | openwrt/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig | 1 |
1 files changed, 1 insertions, 0 deletions
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 57e6ba1..f782d41 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 |