wlan-ap-Telecominfraproject/feeds/ucentral/ucentral-state/files/ucentral-state.init
John Crispin ecfaf9a263 ucentral-state: fix periodic interval on v4.4 kernel
Signed-off-by: John Crispin <john@phrozen.org>
2023-11-22 06:55:43 +01:00

19 lines
260 B
Bash

#!/bin/sh /etc/rc.common
START=80
USE_PROCD=1
PROG=/usr/sbin/ucentral-state
start_service() {
procd_open_instance
procd_set_param command "$PROG"
procd_set_param respawn 3600 1 0
procd_close_instance
}
boot() {
/usr/sbin/ucentral-pstore
start "$@"
}