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
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to