summaryrefslogtreecommitdiff
path: root/package/base-files
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
parent50c777082f72cbfca58855965bf41f734ab64084 (diff)
finetune error log, normal bootup should be error free
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/Makefile2
-rwxr-xr-xpackage/base-files/src/etc/network/if-pre-up.d/02-vlan10
2 files changed, 3 insertions, 9 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 41ead5331..40a997d1b 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -6,7 +6,7 @@ include $(TOPDIR)/mk/rootfs.mk
PKG_NAME:= base-files
PKG_VERSION:= 1.0
-PKG_RELEASE:= 55
+PKG_RELEASE:= 56
PKG_SECTION:= base
PKG_DESCR:= basic files and scripts
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*)