Changeset 13525 in genesis
- Timestamp:
- Dec 16, 2015, 9:05:56 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r13524 r13525 685 685 686 686 output += "wlans_%(autogen_ifbase)s='%(autogen_ifname)s'\n" % ifacedump 687 output += ("create_args_%(autogen_ifname)s= 'wlanmode %(autogen_wlanmode)s mode " +\688 "%(type)s ssid \ "%(ssid)s\" %(autogen_extra)s channel %(channel)s'\n") % ifacedump687 output += ("create_args_%(autogen_ifname)s=\"wlanmode %(autogen_wlanmode)s mode " +\ 688 "%(type)s ssid \\\"%(ssid)s\\\" %(autogen_extra)s channel %(channel)s\"\n") % ifacedump 689 689 output += "\n" 690 690 … … 892 892 893 893 output += "\n" 894 output += "cloned_interfaces='bridge0'\n"895 894 896 895 # Details like SSID … … 917 916 918 917 if iface == 'bridge0': 919 output += "ifconfig_bridge0='addm %s %s up'\n" % (' addm '.join(datadump['autogen_dhcp_interfaces']), addrs[0][0]) 918 output += "cloned_interfaces='bridge0'\n" 919 output += "autobridge_interfaces='bridge0'\n" 920 output += "autobridge_bridge0='%s'\n" % ' '.join(datadump['autogen_dhcp_interfaces']) 921 output += "ifconfig_bridge0='%s up'\n" % addrs[0][0] 920 922 else: 921 923 output += "ifconfig_%s='inet %s'\n" % (iface, addrs[0][0])
Note:
See TracChangeset
for help on using the changeset viewer.