first Pivivlion config and scripts

This commit is contained in:
Vedran 2016-11-25 19:02:28 +01:00
parent e046535f8c
commit 1599a2b753
61 changed files with 7014 additions and 0 deletions

11
usr/local/bin/pikey Normal file
View file

@ -0,0 +1,11 @@
#!/bin/bash
echo "Enter SSID"
read name
echo "Enter password"
read password
wpa_passphrase "$name" "$password" >> /home/pi/pivilion/config/wpa_supplicant.conf
sudo bash -c "cp /home/pi/pivilion/config/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant.conf"
echo "Configured Wifi networks"
sudo bash -c "cat /etc/wpa_supplicant/wpa_supplicant.conf"
echo "If this is correct set your Pi to restart in onion mode by running the onion command!"