diff --git a/050_wicd.sh b/050_wicd.sh index ea537cb..859df25 100755 --- a/050_wicd.sh +++ b/050_wicd.sh @@ -1,18 +1,16 @@ #!/usr/bin/env bash # Remove network-manager if present. -apt-get -y remove --purge network-manager* gir1.2-networkmanager-1.0 gir1.2-nmgtk-common libnm-* - -apt-get -y remove --purge libnm-gtk - -rm /home/user/.config/autostart/nm-applet.destop +#apt-get -y remove --purge network-manager* gir1.2-networkmanager-1.0 gir1.2-nmgtk-common libnm-* +#apt-get -y remove --purge libnm-gtk +#rm /home/user/.config/autostart/nm-applet.destop # At some point we will move from ifconfig and iwconfig to ip and iw but wicd seems to only be partially their so: apt-get -y install iw net-tools iproute2 apt-get -y install wicd wicd-gtk wicd-curses # Stop the gtk wicd client, it doesn't like files being changes under it. Even if you delette the file, when it exits it writes out its settings. -PID=`ps aux | grep python | grep wicd-client| awk {'print $2'}` -kill -9 ${PID} +#PID=`ps aux | grep python | grep wicd-client| awk {'print $2'}` +#kill -9 ${PID} #sed -i 's,^\(wireless_interface = \).*,\1'wlan0',' /etc/wicd/manager-settings.conf