diff options
-rw-r--r-- | templates/interfaces/ethernet/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/ethernet/node.def b/templates/interfaces/ethernet/node.def index e51fe7df..bdbdb0d5 100644 --- a/templates/interfaces/ethernet/node.def +++ b/templates/interfaces/ethernet/node.def @@ -30,7 +30,7 @@ create: if ! cli-shell-api exists interfaces ethernet $VAR(@) disable; fi /opt/vyatta/sbin/vyatta-link-detect $VAR(@) on -delete: [ -d /sys/class/net/$VAR(../@) ] || exit 0 +delete: [ -d /sys/class/net/$VAR(@) ] || exit 0 ip link set $VAR(@) down end: rm -f /tmp/speed-duplex.$VAR(@) |