projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
create /etc/config if it doesn't exist
[oweals/openwrt.git]
/
openwrt
/
target
/
linux
/
package
/
base-files
/
files
/
brcm-2.6
/
etc
/
init.d
/
S05netconfig
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 57e6ba1a341c5df07cd4358764cfd78a7e5eaec3..f782d41c08718e3f32a8592238b669cdda115cc4 100755
(executable)
--- 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