contrib/meshwizard: set ucitrack entry properly
This commit is contained in:
parent
0394e75a56
commit
8df0c46d12
2 changed files with 7 additions and 5 deletions
|
@ -1,8 +1,4 @@
|
|||
#!/bin/sh
|
||||
[ -n "${IPKG_INSTROOT}" ] || {
|
||||
uci set ucitrack.meshwizard="meshwizard"
|
||||
uci set ucitrack.meshwizard.exec="/etc/init.d/wizard restart"
|
||||
uci commit
|
||||
exit 0
|
||||
( . /etc/uci-defaults/meshwizard ) && rm -f /etc/uci-defaults/meshwizard
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
uci batch <<EOF
|
||||
set ucitrack.meshwizard="meshwizard"
|
||||
set ucitrack.meshwizard.exec="/etc/init.d/wizard boot"
|
||||
commit ucitrack
|
||||
EOF
|
Loading…
Reference in a new issue