wlan-ap-Telecominfraproject/feeds/tip/maverick/files/etc/init.d/maverick
John Crispin 42251224b3 ucentral: development update
* more mac80211/hapd script improvements
* more led blink/off commands
* update ucentral-schema
* further improvement on maverick
* various ipq807x led improvements

Signed-off-by: John Crispin <john@phrozen.org>
2021-06-25 09:18:09 +02:00

15 lines
306 B
Bash
Executable File

#!/bin/sh /etc/rc.common
START=99
USE_PROCD=1
PROG=/usr/sbin/maverick
start_service() {
active=$(readlink /etc/ucentral/ucentral.active)
[ -n "$active" -a "$active" != "/etc/ucentral/ucentral.cfg.0000000001" ] && return 0
procd_open_instance
procd_set_param command "$PROG"
procd_close_instance
}