gluon/package/gluon-radvd/files/etc/init.d/gluon-radvd
Matthias Schiffer e5acba5fbc
gluon-radvd: fix init script
Fixes #862
2016-08-24 13:07:29 +02:00

16 lines
400 B
Bash
Executable File

#!/bin/sh /etc/rc.common
USE_PROCD=1
START=50
start_service() {
[ -x /lib/gluon/radvd/arguments ] && {
procd_open_instance
procd_set_param command /usr/sbin/uradvd $(/lib/gluon/radvd/arguments)
procd_set_param respawn ${respawn_threshold:-3600} ${respawn_timeout:-5} ${respawn_retry:-5}
procd_set_param netdev br-client
procd_set_param stderr 1
procd_close_instance
}
}