summaryrefslogtreecommitdiff
path: root/templates/interfaces/ethernet/node.def
blob: c231b743adff2254215e2d97a5c3ebbf8fa9e7c4 (plain)
1
2
3
4
5
6
7
8
9
tag:
type: txt
help: Set ethernet interface
syntax:expression: exec \
   "/opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(@) --check=ethernet"
allowed: /opt/vyatta/sbin/vyatta-interfaces.pl --show=ethernet
update: sudo ip link set "$VAR(@)" up
	/opt/vyatta/sbin/vyatta-link-detect $VAR(@) on
delete: sudo ip link set "$VAR(@)" down