From b6b8db9771c217c0d0347e4880f3a516029532a6 Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Tue, 21 Oct 2008 14:36:44 -0700 Subject: Bugfix: 3807: Typo in config template for interfaces/loopback. --- templates/interfaces/loopback/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \ -- cgit v1.2.3