diff options
author | Rémy Oudompheng <remy@archlinux.org> | 2011-06-11 22:46:45 +0200 |
---|---|---|
committer | Rémy Oudompheng <remy@archlinux.org> | 2011-06-11 22:46:55 +0200 |
commit | ea9e2dd8befbb30a49fc5e55a84d1eba876ea495 (patch) | |
tree | 4c8b6b2e3f69e85f34bd68c7d0d6bae7ddbed917 /wpa_actiond | |
parent | ad711a91917752a887cf99f61e8c23986358671f (diff) | |
download | netctl-ea9e2dd8befbb30a49fc5e55a84d1eba876ea495.tar.gz netctl-ea9e2dd8befbb30a49fc5e55a84d1eba876ea495.tar.xz |
Move more PID files to /run
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
Diffstat (limited to 'wpa_actiond')
-rwxr-xr-x | wpa_actiond/netcfg-wpa_actiond | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_actiond/netcfg-wpa_actiond b/wpa_actiond/netcfg-wpa_actiond index 4abc5ab..3f338c6 100755 --- a/wpa_actiond/netcfg-wpa_actiond +++ b/wpa_actiond/netcfg-wpa_actiond @@ -17,7 +17,7 @@ case $1 in interface=$2 [[ -f "$IFACE_DIR/$interface" ]] && source "$IFACE_DIR/$interface" stop_wpa $2 - kill $(cat "/var/run/wpa_actiond_${2}.pid") + kill $(cat "/run/wpa_actiond_${2}.pid") if [[ -n "$RFKILL" ]]; then set_rf_state "$interface" disabled $RFKILL_NAME || exit $? fi @@ -25,7 +25,7 @@ case $1 in ;; *) interface=$1; shift - PIDFILE="/var/run/wpa_actiond_${interface}.pid" + PIDFILE="/run/wpa_actiond_${interface}.pid" EXTRA_AUTOWIFI_OPTIONS="$*" ;; esac |