contrib/meshwizard: set ucitrack entry properly

This commit is contained in:
Manuel Munz 2011-06-24 14:29:20 +00:00
parent 0394e75a56
commit 8df0c46d12
2 changed files with 7 additions and 5 deletions

View file

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

View file

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