mirror of
https://gitlab.com/hacklab01/pivilion.git
synced 2026-02-03 23:30:48 +00:00
fixed script execution issues
This commit is contained in:
parent
be27c43cf9
commit
6e914f6626
2 changed files with 8 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue