From a0aafd44e79da08f465ad19230e61e1092c466ba Mon Sep 17 00:00:00 2001 From: Andres Salomon Date: Sun, 21 Nov 2010 20:57:22 -0800 Subject: [PATCH] debxo-lxde: fix wicd to be configured correctly Signed-off-by: Andres Salomon --- configs/debxo-lxde/hooks | 16 +++++++++------- wicd-manager-settings.conf | 27 +++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 7 deletions(-) create mode 100644 wicd-manager-settings.conf diff --git a/configs/debxo-lxde/hooks b/configs/debxo-lxde/hooks index 85a0a25..9d5d418 100644 --- a/configs/debxo-lxde/hooks +++ b/configs/debxo-lxde/hooks @@ -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 index 0000000..6dcf165 --- /dev/null +++ b/wicd-manager-settings.conf @@ -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 + -- 2.39.5