Browse Source

finetune error log, normal bootup should be error free

Waldemar Brodkorb 12 years ago
parent
commit
c0b5e5ad7b

+ 1 - 1
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
 

+ 2 - 8
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*)