From c0b5e5ad7b72b6ef86d94912d7f0e96eaa70463f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 11 Jul 2013 17:26:40 +0200 Subject: finetune error log, normal bootup should be error free --- package/base-files/src/etc/network/if-pre-up.d/02-vlan | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'package/base-files/src/etc/network/if-pre-up.d/02-vlan') diff --git a/package/base-files/src/etc/network/if-pre-up.d/02-vlan b/package/base-files/src/etc/network/if-pre-up.d/02-vlan index 26b33ca80..f153df564 100755 --- a/package/base-files/src/etc/network/if-pre-up.d/02-vlan +++ b/package/base-files/src/etc/network/if-pre-up.d/02-vlan @@ -1,13 +1,7 @@ #!/bin/sh -which vconfig || { - echo "vconfig executable not found, aborting" - exit 0 -} -[ -d /proc/net/vlan ] || { - echo "no kernel support for 802.1q found, aborting" - exit 0 -} +which vconfig >/dev/null || exit 0 +[ -d /proc/net/vlan ] || exit 0 case "$IFACE" in vlan*) -- cgit v1.2.3