diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2016-05-15 20:42:08 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2016-05-15 20:42:08 +0200 |
| commit | a673f920852a8a566f325b4cebe5cfe4b556aa1a (patch) | |
| tree | e05e91ce25a5ae26cd6b14208e845cf161898f1e /config | |
| parent | 5c4abeefb5fb5fc899dc698b5cc7005d77e3f918 (diff) | |
| download | dotfiles-a673f920852a8a566f325b4cebe5cfe4b556aa1a.tar.gz dotfiles-a673f920852a8a566f325b4cebe5cfe4b556aa1a.zip | |
rework setup.py to handle sensible files
setup.py:
+ files ending with .gpg will be decrypted and stored
in decrypted/
+ detect if root privileges are requiered and request
them with sudo
+ use argparse instead of manually parsing sys.argv
add function to start the FAU Wlan and the requiered
wpa_supplicant config
Diffstat (limited to 'config')
| -rw-r--r-- | config/fish/functions/start_uni_wlan.fish | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/fish/functions/start_uni_wlan.fish b/config/fish/functions/start_uni_wlan.fish new file mode 100644 index 0000000..0d17e69 --- /dev/null +++ b/config/fish/functions/start_uni_wlan.fish @@ -0,0 +1,4 @@ +function start_uni_wlan --description "starts wpa_supplicant and dhcpcd" + sudo wpa_supplicant -B -iwlp2s0 -D wext -c /etc/wpa_supplicant/fau_stud.conf + sudo dhcpcd wlp2s0 +end |
