diff options
Diffstat (limited to 'templates/interfaces/loopback/node.def')
-rw-r--r-- | templates/interfaces/loopback/node.def | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/interfaces/loopback/node.def b/templates/interfaces/loopback/node.def new file mode 100644 index 00000000..64485e54 --- /dev/null +++ b/templates/interfaces/loopback/node.def @@ -0,0 +1,8 @@ +tag: +priority: 320 +type: txt +help: Set loopback interface +syntax:expression: exec \ + "/opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(@) --check=loopback" +allowed: /opt/vyatta/sbin/vyatta-interfaces.pl --show=loopback +create: sudo ip link set $VAR(@) up |