create /etc/config if it doesn't exist
SVN-Revision: 2832
This commit is contained in:
parent
a27808e671
commit
0bedba966f
@ -2,6 +2,7 @@
|
|||||||
[ -e /etc/config/network ] && exit 0
|
[ -e /etc/config/network ] && exit 0
|
||||||
|
|
||||||
(
|
(
|
||||||
|
mkdir -p /etc/config
|
||||||
if [ "$(/usr/bin/head -c4 /dev/mtdblock/1 | /usr/bin/tail -c3)" = "ELF" ]; then
|
if [ "$(/usr/bin/head -c4 /dev/mtdblock/1 | /usr/bin/tail -c3)" = "ELF" ]; then
|
||||||
# WGT634u
|
# WGT634u
|
||||||
echo boardtype=wgt634u
|
echo boardtype=wgt634u
|
||||||
|
Loading…
Reference in New Issue
Block a user