gluon-radvd: improve coding style in initscript
This commit is contained in:
parent
25f1b64934
commit
b3e609dca9
@ -4,11 +4,11 @@ USE_PROCD=1
|
|||||||
START=50
|
START=50
|
||||||
|
|
||||||
start_service() {
|
start_service() {
|
||||||
[ -x /lib/gluon/radvd/arguments ] && {
|
[ -x /lib/gluon/radvd/arguments ] || return 1
|
||||||
|
|
||||||
procd_open_instance
|
procd_open_instance
|
||||||
procd_set_param command /usr/sbin/uradvd $(/lib/gluon/radvd/arguments)
|
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 respawn ${respawn_threshold:-3600} ${respawn_timeout:-5} ${respawn_retry:-5}
|
||||||
procd_set_param stderr 1
|
procd_set_param stderr 1
|
||||||
procd_close_instance
|
procd_close_instance
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user