summaryrefslogtreecommitdiff
path: root/templates/interfaces
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2011-02-07 16:35:19 +0100
committerStephen Hemminger <stephen.hemminger@vyatta.com>2011-03-11 14:28:10 -0800
commitba9aa36083dc1362e5a237303309441b3e48a400 (patch)
tree2b81047f46cfd9138dcc2113090b78da68ba3e24 /templates/interfaces
parenta4a42dc4209865b04b8ee41f03d1be870d5a794b (diff)
downloadvyatta-cfg-quagga-ba9aa36083dc1362e5a237303309441b3e48a400.tar.gz
vyatta-cfg-quagga-ba9aa36083dc1362e5a237303309441b3e48a400.zip
Remove flag file at end of transaction
If commit cleans up temp file, no sudo is necessary.
Diffstat (limited to 'templates/interfaces')
-rw-r--r--templates/interfaces/ethernet/node.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/interfaces/ethernet/node.def b/templates/interfaces/ethernet/node.def
index ea33efb8..31883c64 100644
--- a/templates/interfaces/ethernet/node.def
+++ b/templates/interfaces/ethernet/node.def
@@ -20,3 +20,5 @@ create: ip link set "$VAR(@)" up
delete: [ -d /sys/class/net/$VAR(../@) ] || exit 0
ip link set $VAR(@) down
+
+end: rm -f /tmp/speed-duplex.$VAR(@)