|
75 |
for key,value in configRegistry.items(): |
75 |
for key,value in configRegistry.items(): |
76 |
if key.startswith('interfaces/%s/route/' % i): |
76 |
if key.startswith('interfaces/%s/route/' % i): |
77 |
if value.startswith('host ') or value.startswith('net '): |
77 |
if value.startswith('host ') or value.startswith('net '): |
78 |
print 'up route add -%s dev %s' % (value, i) |
78 |
print 'up route add -%s dev %s' % (value, i.replace('_', ':')) |
79 |
|
79 |
|
80 |
for key,value in configRegistry.items(): |
80 |
for key,value in configRegistry.items(): |
81 |
if key.startswith('interfaces/%s/options/' % i): |
81 |
if key.startswith('interfaces/%s/options/' % i): |