diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2011-02-07 16:35:19 +0100 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2011-03-11 14:28:10 -0800 |
commit | ba9aa36083dc1362e5a237303309441b3e48a400 (patch) | |
tree | 2b81047f46cfd9138dcc2113090b78da68ba3e24 /templates/interfaces | |
parent | a4a42dc4209865b04b8ee41f03d1be870d5a794b (diff) | |
download | vyatta-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.def | 2 |
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(@) |