diff options
author | William Giokas <1007380@gmail.com> | 2013-01-25 05:22:21 +0100 |
---|---|---|
committer | William Giokas <1007380@gmail.com> | 2013-01-25 05:22:21 +0100 |
commit | 45f9cb55fffe278f3ca10fbc3deef478979ec6db (patch) | |
tree | 8a624276de98b9d58df37dc0c6c3db90ce6c6d83 /services | |
parent | 61e97343d0169839b89dccd762f3c492e74cee8a (diff) | |
download | netctl-45f9cb55fffe278f3ca10fbc3deef478979ec6db.tar.gz netctl-45f9cb55fffe278f3ca10fbc3deef478979ec6db.tar.xz |
[wifi-menu] Do not fail if already connected
If netctl is already connected to a network and wifi-menu is run, then
it will fail to connect. Having wifi-menu call `netctl switch-to`
instead of `netctl restart` causes wifi-menu to behave like netctl
switch-to: It will connect if not connected, and if already connected on
that interface it will put the connected profile down the put up the
selected profile.
This fixes github issue #6.
Signed-off-by: William Giokas <1007380@gmail.com>
Diffstat (limited to 'services')
0 files changed, 0 insertions, 0 deletions