summaryrefslogtreecommitdiff
path: root/package/base-files/src
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-07-11 17:26:40 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-07-11 17:26:40 +0200
commitc0b5e5ad7b72b6ef86d94912d7f0e96eaa70463f (patch)
tree90666a0c2a31f261dc3e014e00d11a8fbf26cb10 /package/base-files/src
parent50c777082f72cbfca58855965bf41f734ab64084 (diff)
finetune error log, normal bootup should be error free
Diffstat (limited to 'package/base-files/src')
-rwxr-xr-xpackage/base-files/src/etc/network/if-pre-up.d/02-vlan10
1 files changed, 2 insertions, 8 deletions
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*)