View | Details | Raw Unified | Return to bug 22967
Collapse All | Expand All

(-)interfaces.py.orig (+5 lines)
 Lines 41-46    Link Here 
41
41
42
def start_iface(iface):
42
def start_iface(iface):
43
	if iface:
43
	if iface:
44
		# configure VLAN
45
		vlan = iface.split('.')
46
		if len(vlan) == 2 and vlan[0].strip() and vlan[1].strip():
47
			os.system('modprobe 8021q')
48
			os.system('vconfig add %s %s >/dev/null 2>&1' % (vlan[0].strip(), vlan[1].strip()))
44
		os.system('ifup %s' % iface)
49
		os.system('ifup %s' % iface)
45
50
46
def restore_gateway(gateway):
51
def restore_gateway(gateway):

Return to bug 22967