From 5f37abddde55ee5ec2afb4e2b565326261bbc976 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 22 Nov 2007 13:31:19 +0000 Subject: Use yesno for more robustness --- net.Linux/vlan.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net.Linux/vlan.sh') diff --git a/net.Linux/vlan.sh b/net.Linux/vlan.sh index b3b82eab..2410b950 100644 --- a/net.Linux/vlan.sh +++ b/net.Linux/vlan.sh @@ -99,7 +99,7 @@ vlan_post_start() { # We may not want to start the vlan ourselves eval s=\$vlan_start_${IFVAR} - [ "${s:-yes}" != "yes" ] && continue + yesno ${s:-yes} || continue # We need to work out the interface name of our new vlan id local ifname="$( \ -- cgit v1.2.3