Skip to content
Snippets Groups Projects
Commit 31c86132 authored by Jan-Philipp Litza's avatar Jan-Philipp Litza
Browse files

gluon-radv-filterd: Remove all UCI options except threshold

parent 93fb2b33
No related branches found
No related tags found
No related merge requests found
config filterd config filterd
option iface 'br-client'
option chain 'RADV_FILTER'
option threshold '20' option threshold '20'
...@@ -6,8 +6,6 @@ DAEMON=/usr/sbin/gluon-radv-filterd ...@@ -6,8 +6,6 @@ DAEMON=/usr/sbin/gluon-radv-filterd
validate_filterd_section() { validate_filterd_section() {
uci_validate_section gluon-radv-filterd filterd "${1}" \ uci_validate_section gluon-radv-filterd filterd "${1}" \
'iface:string' \
'chain:string:RADV_FILTER' \
'threshold:uinteger:20' 'threshold:uinteger:20'
} }
...@@ -21,7 +19,7 @@ start_filterd() { ...@@ -21,7 +19,7 @@ start_filterd() {
validate_filterd_section "$1" validate_filterd_section "$1"
procd_open_instance procd_open_instance
procd_set_param command $DAEMON -i "$iface" -c "$chain" -t $threshold procd_set_param command $DAEMON -i br-client -c RADV_FILTER -t $threshold
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 netdev br-client procd_set_param netdev br-client
procd_set_param stderr 1 procd_set_param stderr 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment