diff options
Diffstat (limited to 'templates/load-balancing/wan/interface-health/node.def')
-rw-r--r-- | templates/load-balancing/wan/interface-health/node.def | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/templates/load-balancing/wan/interface-health/node.def b/templates/load-balancing/wan/interface-health/node.def index 24a05c0..d393140 100644 --- a/templates/load-balancing/wan/interface-health/node.def +++ b/templates/load-balancing/wan/interface-health/node.def @@ -1,13 +1,3 @@ tag: type: txt help: Set interface name -syntax:expression: exec " \ - if [ -z \"`ip link | grep $VAR(@)`\" ]; then \ - echo Invalid interface [$VAR(@)]; \ - exit 1 ; \ - fi ; " -allowed: for dev in /sys/class/net/*; - do if [[ ! $dev =~ "net/lo" ]]; then - echo -n ${dev##*/} " " - fi - done |