- #!/bin/sh /etc/rc.common
- # Copyright (C) 2009-2011 OpenWrt.org
- # Copyright (C) 2015 Christian Beier <dontmind@freeshell.org>
-
- USE_PROCD=1
-
- START=90
-
- start_service() {
- procd_open_instance
- procd_set_param command sudo -u nobody /usr/bin/olad --syslog --log-level 3 --config-dir /etc/ola
- procd_set_param respawn
- procd_close_instance
- }
-
|