4 [ "$PROTO" = "relay" ] && exit 0
13 config_get proto
"$1" proto
14 [ "$proto" = "relay" ] ||
return 0
17 config_get networks
"$cfg" network
18 for net
in $networks; do
19 [ "$net" = "$INTERFACE" ] && {
20 env
-i /sbin
/ifup
"$cfg" &
26 config_get ifnames
"$cfg" ifname
27 for ifn
in $ifnames; do
28 [ "$ifn" = "$DEVICE" ] && {
29 env
-i /sbin
/ifup
"$cfg" &
35 config_foreach restart_relayd interface