summaryrefslogtreecommitdiff
path: root/templates/interfaces/loopback/node.def
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-10-24 10:05:08 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2007-10-24 10:05:08 -0700
commitd9349ca1d70d49ead870decdfafaefc21abd2a42 (patch)
tree76592b4206c028f6337fc4cd769b689027dfabe0 /templates/interfaces/loopback/node.def
parentae08adfabeed8fec9093e759a40f156d589defa9 (diff)
downloadvyatta-cfg-d9349ca1d70d49ead870decdfafaefc21abd2a42.tar.gz
vyatta-cfg-d9349ca1d70d49ead870decdfafaefc21abd2a42.zip
add 'sudo' to 'interfaces' configuration commands.
Diffstat (limited to 'templates/interfaces/loopback/node.def')
-rw-r--r--templates/interfaces/loopback/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/loopback/node.def b/templates/interfaces/loopback/node.def
index 328a192..d6e3a81 100644
--- a/templates/interfaces/loopback/node.def
+++ b/templates/interfaces/loopback/node.def
@@ -6,4 +6,4 @@ syntax: exec " \
echo loopback interface $(@) doesn\\'t exist on this system ; \
exit 1 ; \
fi ; "
-update: "ip link set $(@) up"
+update: "sudo ip link set $(@) up"