X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb/blobdiff_plain/0368c8ba9c4c243ab5fec3939f2fa050c497ac34..74058b00f467d1125b2f2b6c9b44f20c33913b37:/init.hmland.OpenWRT diff --git a/init.hmland.OpenWRT b/init.hmland.OpenWRT new file mode 100644 index 0000000..c27a27b --- /dev/null +++ b/init.hmland.OpenWRT @@ -0,0 +1,14 @@ +#!/bin/sh /etc/rc.common + +START=50 +USE_PROCD=1 + +start_service() { + procd_open_instance + procd_set_param command /usr/sbin/hmland -p 1000 + procd_set_param respawn 10 5 0 + procd_set_param stdout 1 + procd_set_param stderr 1 + procd_set_param user root + procd_close_instance +}