olad.init 336 B

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