# configure wicd
F=${ROOT_DIR}/etc/wicd/manager-settings.conf
- if [ -f ${F} ]; then
- sed --in-place "s/wireless_interface =.*$/wireless_interface = wlan0/" ${F}
- sed --in-place "s/wired_inferface =.*$/wired_interface = eth0/" ${F}
- # auto-connect to wired
- sed --in-place "s/prefer_wired =.*$/prefer_wired = True/" ${F}
- sed --in-place "s/wired_connect_mode =.*$/wired_connect_mode = 0/" ${F}
- fi
+ # there's no actual config file in the package; it's autocreated or something. ugh.
+ cp wicd-manager-settings.conf ${F}
+# if [ -f ${F} ]; then
+# sed --in-place "s/wireless_interface =.*$/wireless_interface = wlan0/" ${F}
+# sed --in-place "s/wired_inferface =.*$/wired_interface = eth0/" ${F}
+# # auto-connect to wired
+# sed --in-place "s/prefer_wired =.*$/prefer_wired = True/" ${F}
+# sed --in-place "s/wired_connect_mode =.*$/wired_connect_mode = 0/" ${F}
+# fi
}
--- /dev/null
+[Settings]
+wireless_interface = wlan0
+prefer_wired = True
+flush_tool = 0
+use_global_dns = False
+global_dns_dom = None
+always_show_wired_interface = False
+global_dns_1 = None
+global_dns_2 = None
+global_dns_3 = None
+backend = external
+should_verify_ap = 1
+netprop_width = 605
+link_detect_tool = 0
+main_height = 529
+dhcp_client = 0
+sudo_app = 0
+wired_connect_mode = 0
+wired_interface = eth0
+debug_mode = False
+netprop_height = 600
+signal_display_type = 0
+global_search_dom = None
+auto_reconnect = True
+main_width = 530
+wpa_driver = wext
+