2014-01-11 15:05:17 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
|
|
|
|
2016-07-30 18:27:20 +00:00
|
|
|
USE_PROCD=1
|
2014-01-11 15:05:17 +00:00
|
|
|
START=50
|
|
|
|
|
2016-07-30 18:27:20 +00:00
|
|
|
start_service() {
|
2016-07-26 23:22:57 +00:00
|
|
|
[ -x /lib/gluon/radvd/arguments ] && {
|
2016-07-30 18:27:20 +00:00
|
|
|
procd_open_instance
|
2016-08-24 11:07:29 +00:00
|
|
|
procd_set_param command /usr/sbin/uradvd $(/lib/gluon/radvd/arguments)
|
2016-07-30 18:27:20 +00:00
|
|
|
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
|
2016-07-26 23:22:57 +00:00
|
|
|
}
|
2014-01-11 15:05:17 +00:00
|
|
|
}
|