summaryrefslogtreecommitdiffstats
path: root/src/wifi-menu
AgeCommit message (Collapse)AuthorFilesLines
2013-01-25[wifi-menu] Do not fail if already connectedWilliam Giokas1-1/+1
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>
2013-01-24[wifi-menu] Autodetect network interfacesWilliam Giokas1-10/+15
After the systemd 197 device name changes, wlan0 no longer exists (it does for people who mask the rule, but new users will have issues with this). This just searches the /sys/class/net directory for wireless names. If there is more than one, then report an "Invalid interface specification", not a "Missing" interface (as there could be multiple). A quick thanks to Dave Reisner for his help in the channel. Altered by: Jouke Witteveen <j.witteveen@gmail.com>
2013-01-07Minor update of sample profilesJouke Witteveen1-1/+1
Reduced unnecessary quoting and some rewording.
2012-12-28Forking netcfg to netctl (2/2)Jouke Witteveen1-44/+32
This commit contains the refactoring and rewriting of code.
2012-12-28Forking netcfg to netctl (1/2)Jouke Witteveen1-0/+263
This commit contains the moving of files.