summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2008-10-21 14:36:44 -0700
committerBob Gilligan <gilligan@vyatta.com>2008-10-21 14:36:44 -0700
commitb6b8db9771c217c0d0347e4880f3a516029532a6 (patch)
tree7ce0adbbde06c04a1941725f35f6dcbaba998499
parent3e6a15a97881f82bc615eea5075902b038cca4dc (diff)
downloadvyatta-cfg-b6b8db9771c217c0d0347e4880f3a516029532a6.tar.gz
vyatta-cfg-b6b8db9771c217c0d0347e4880f3a516029532a6.zip
Bugfix: 3807: Typo in config template for interfaces/loopback.
-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 b5235a0..e57f4b1 100644
--- a/templates/interfaces/loopback/node.def
+++ b/templates/interfaces/loopback/node.def
@@ -3,7 +3,7 @@ type: txt
help: Set loopback interface
allowed: echo "lo"
syntax:expression: exec "\
- if [ !-d /sys/class/net/$VAR(@) ]; then \
+ if [ ! -d /sys/class/net/$VAR(@) ]; then \
echo \"loopback interface $VAR(@) does not exist\"; \
exit 1; \
elif [ $(cat /sys/class/net/$VAR(@)/type) -ne 772 ]; then \