mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-01 23:13:44 +02:00
create /etc/config if it doesn't exist
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2832 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e3420b5ead
commit
661c255a54
@ -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