From a673f920852a8a566f325b4cebe5cfe4b556aa1a Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 15 May 2016 20:42:08 +0200 Subject: 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 --- config/fish/functions/start_uni_wlan.fish | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 config/fish/functions/start_uni_wlan.fish (limited to 'config') 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 -- cgit v1.2.3