gluon-radvd: improve coding style in initscript

This commit is contained in:
Christof Schulze 2017-02-11 22:30:10 +01:00 committed by Matthias Schiffer
parent 25f1b64934
commit b3e609dca9
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

View File

@ -4,11 +4,11 @@ USE_PROCD=1
START=50
start_service() {
[ -x /lib/gluon/radvd/arguments ] && {
[ -x /lib/gluon/radvd/arguments ] || return 1
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 stderr 1
procd_close_instance
}
}