packages/utils/gl-puli-mcu/files/etc/init.d/gl-puli-mcu
Nuno Goncalves c62586b417 gl-puli-mcu: add GL.iNet GL-XE300 (Puli) power monitoring daemon
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2021-10-15 11:12:20 +02:00

13 lines
235 B
Bash
Executable file

#!/bin/sh /etc/rc.common
START=99
USE_PROCD=1
start_service() {
procd_open_instance
procd_set_param command /usr/sbin/gl-puli-mcu
procd_set_param respawn
procd_set_param stdout 1
procd_set_param stderr 1
procd_close_instance
}