summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Xiong <arthur@vyatta.com>2011-02-07 08:08:20 +0000
committerArthur Xiong <arthur@vyatta.com>2011-02-07 08:08:20 +0000
commitd5e24e38a27cc710cb63d3e9cb0c79b8b8154f03 (patch)
tree55a82697e52d9a93da6fc8db5b9689576a1fb6e6
parent2e72c27b4b0606ee9b0d31986888ac3e47a20e2d (diff)
downloadvyatta-cfg-system-d5e24e38a27cc710cb63d3e9cb0c79b8b8154f03.tar.gz
vyatta-cfg-system-d5e24e38a27cc710cb63d3e9cb0c79b8b8154f03.zip
Additional fix for bug #6778 - add 'sudo' so the file can be removed
successfully
-rw-r--r--templates/interfaces/ethernet/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/ethernet/node.def b/templates/interfaces/ethernet/node.def
index ea33efb8..e0226637 100644
--- a/templates/interfaces/ethernet/node.def
+++ b/templates/interfaces/ethernet/node.def
@@ -13,7 +13,7 @@ syntax:expression: exec \
exit 1; \
fi"
-begin: rm -f /tmp/speed-duplex.$VAR(@)
+begin: sudo rm -f /tmp/speed-duplex.$VAR(@)
create: ip link set "$VAR(@)" up
/opt/vyatta/sbin/vyatta-link-detect $VAR(@) on