create /etc/config if it doesn't exist

SVN-Revision: 2832
owl
Felix Fietkau 2006-01-05 00:54:46 +00:00
parent a27808e671
commit 0bedba966f
1 changed files with 1 additions and 0 deletions

View File

@ -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