fixed script execution issues

This commit is contained in:
Vedran 2016-11-25 20:51:10 +01:00
parent be27c43cf9
commit 6e914f6626
2 changed files with 8 additions and 3 deletions

View file

@ -1,7 +1,12 @@
#!/bin/bash
pause(){
read -n1 -rsp $'\nPress any key to continue or Ctrl+C to exit...\n\n'
}
sudo chown pi:pi /home/pi/pivilion/scripts/*
sudo chmod u+x /home/pi/pivilion/scripts/*
echo -e "\nWelcome to pivilion!"
let upSeconds="$(/usr/bin/cut -d. -f1 /proc/uptime)"
@ -30,4 +35,4 @@ echo -e "The following is a usage scenario."
pause
echo "I'm to lazy to write that ATM. =P"
pause
exit 0
exit 0