1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2015 OpenWrt.org
11 # Custom relay labels (for Web GUI) are defined in /etc/crelay.conf
16 # restart if it croaks
17 procd_set_param respawn
19 procd_set_param
command "$PROG"
20 # daemon mode (not daemonized) - starts HTTP server
21 procd_append_param
command -d