]> spindle.queued.net Git - xodist/commitdiff
debxo-lxde: fix wicd to be configured correctly
authorAndres Salomon <dilinger@queued.net>
Mon, 22 Nov 2010 04:57:22 +0000 (20:57 -0800)
committerAndres Salomon <dilinger@queued.net>
Mon, 22 Nov 2010 04:57:22 +0000 (20:57 -0800)
Signed-off-by: Andres Salomon <dilinger@queued.net>
configs/debxo-lxde/hooks
wicd-manager-settings.conf [new file with mode: 0644]

index 85a0a258f1ef37b53d65b8101ef1e113546c26fe..9d5d4189c2c38020f1dca3eb3ddb6f795b28f8eb 100644 (file)
@@ -101,13 +101,15 @@ EOF
 
        # 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
 
 }
 
diff --git a/wicd-manager-settings.conf b/wicd-manager-settings.conf
new file mode 100644 (file)
index 0000000..6dcf165
--- /dev/null
@@ -0,0 +1,27 @@
+[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
+