From d234dbf62a065de2b799f9b57c1b476c07a6bc17 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen.hemminger@vyatta.com>
Date: Mon, 21 Dec 2009 10:52:40 -0800
Subject: Move interface support from vyatta-cfg to vyatta-cfg-system

All the other interface types are in vyatta-cfg-system, only
loopback and ethernet were in vyatta-cfg
---
 templates/interfaces/loopback/node.def | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 templates/interfaces/loopback/node.def

(limited to 'templates/interfaces/loopback/node.def')

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
-- 
cgit v1.2.3

