diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-02-28 20:57:47 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-02-28 21:30:58 +0100 |
commit | 56826afa0399402f00f4078ff3b8b08f7f5c9093 (patch) | |
tree | 613f6587709fde89a76bb96e3cd15ecb5b63699d /testing | |
parent | ea4db75da410dcc6daffb6b6d019baf3af4a2160 (diff) | |
download | aports-56826afa0399402f00f4078ff3b8b08f7f5c9093.tar.bz2 aports-56826afa0399402f00f4078ff3b8b08f7f5c9093.tar.xz |
main/wpa_supplicant: refactor wpa_cli.sh
udhcpc doesn't have link beat detection and the purposes of this script
is making udhcpc acquire a new lease when connecting to an access point.
The previous version of this script achieved that goal by running
ifdown/ifup which is pretty ugly and never worked properly (at least
with my setup). A better solution for acquiring a DHCP lease when
connecting to a new AP is sending a SIGUSR1 signal to the udhcpc running
on the affected interfaces, this solution is implemented in this commit.
Together with the wpa_cli OpenRC service added in the previous commit
this makes using udhcpc on laptops very convenient.
See also: cc8f61f6330f49f1e2522e6fbed88e84e47190c3
Diffstat (limited to 'testing')
0 files changed, 0 insertions, 0 deletions