summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2012-07-05 13:50:04 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2012-07-05 13:50:04 +0200
commit046f9da64727f08ae243c1aac8ccdb46b95847ac (patch)
treea9c3f52d2d712142a9eeae3406967b664bf35c35 /scripts
parentb05d29e34ac3e870c5ae384ae63545a547440dd5 (diff)
downloadnetctl-046f9da64727f08ae243c1aac8ccdb46b95847ac.tar.gz
netctl-046f9da64727f08ae243c1aac8ccdb46b95847ac.tar.xz
Don't try to kill a dead wpa_actiond (FS#29963)
wpa_actiond kills itself when wpa_supplicant propagates its termination.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/netcfg-wpa_actiond1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/netcfg-wpa_actiond b/scripts/netcfg-wpa_actiond
index f2d2382..345b9b0 100755
--- a/scripts/netcfg-wpa_actiond
+++ b/scripts/netcfg-wpa_actiond
@@ -18,7 +18,6 @@ case $1 in
interface=$2
[[ -f "$IFACE_DIR/$interface" ]] && source "$IFACE_DIR/$interface"
netcfg -D "$interface"
- kill $(< "/run/wpa_actiond_${2}.pid")
# only try to disable software rfkill switches (FS#25514)
if [[ "$RFKILL" == "soft" ]]; then
set_rf_state "$interface" disabled $RFKILL_NAME || exit $?