From 76fe90ad854908c922872b6e51fef20d4d375776 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 2 Oct 2011 15:51:57 +0200 Subject: [PATCH] network: remove code for obsoleted wicd --- postplug.d/20network | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/postplug.d/20network b/postplug.d/20network index a4687d5..71af932 100644 --- a/postplug.d/20network +++ b/postplug.d/20network @@ -376,20 +376,4 @@ fi rm -f $tmpdialog -if [ -e /etc/wicd/manager-settings.conf ]; then - eval `grep "wireless_interface" /etc/wicd/manager-settings.conf | tr -d ' '` - eval `grep "wired_interface" /etc/wicd/manager-settings.conf | tr -d ' '` - if [ "$wireless_interface" ]; then - test_iwconfig=`iwconfig $wireless_interface 2>/dev/null` - [ "$test_iwconfig" = "" ] && \ - sed -i "/wireless_interface =.*/d" /etc/wicd/manager-settings.conf - fi - if [ "$wired_interface" ]; then - test_iwconfig=`iwconfig $wired_interface 2>/dev/null` - test_ifconfig=`ifconfig $wired_interface 2>/dev/null` - [ "$test_ifconfig" = "" -o "$test_iwconfig" != "" ] && \ - sed -i "/wired_interface =.*/d" /etc/wicd/manager-settings.conf - fi -fi - exit 0