Update torname and inital modes

This commit is contained in:
v3d 2016-12-07 20:39:07 +00:00
parent 91776c61e0
commit 7b45d0c2e2

View File

@ -3,7 +3,8 @@
pause(){ pause(){
read -n1 -rsp $'\nPress any key to continue or Ctrl+C to exit...\n\n' read -n1 -rsp $'\nPress any key to continue or Ctrl+C to exit...\n\n'
} }
sudo bash -c 'cat /var/lib/tor/hidden_service/hostname > /home/pi/pivilion/torname'
sudo bash -c 'echo "onion" > /home/pi/pivilion/mode'
echo -e "\nWelcome to pivilion!" echo -e "\nWelcome to pivilion!"
let upSeconds="$(/usr/bin/cut -d. -f1 /proc/uptime)" let upSeconds="$(/usr/bin/cut -d. -f1 /proc/uptime)"