SVN: rc-scripts/trunk/lib/ifup-vlan

blues blues at pld-linux.org
Fri Apr 20 11:47:22 CEST 2012


Author: blues
Date: Fri Apr 20 11:47:21 2012
New Revision: 12557

Modified:
   rc-scripts/trunk/lib/ifup-vlan
Log:
- just warn about disabled master interface, don't silently disable vlans


Modified: rc-scripts/trunk/lib/ifup-vlan
==============================================================================
--- rc-scripts/trunk/lib/ifup-vlan	(original)
+++ rc-scripts/trunk/lib/ifup-vlan	Fri Apr 20 11:47:21 2012
@@ -46,9 +46,7 @@
 fi
 
 if ! grep -qlE "ONBOOT=[^n][^o]" /etc/sysconfig/interfaces/ifcfg-${VLAN_DEV}; then
-	# XXX: maybe display some message? Right now disabling VLAN_DEV means disabling
-	# VLANs, too. --misiek
-	exit 1
+	nls "Warning: ${VLAN_DEV} is disabled on boot."
 fi
 
 modprobe -s 8021q


More information about the pld-cvs-commit mailing list