-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e5749dc
commit 34ae230
Showing
4 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
12 changes: 9 additions & 3 deletions
12
src/pi_startup/auto_update_service/setup.sh
100755 → 100644
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
|
||
# No shebang, not executable run this with bash directly | ||
# No shebang, not executable. Run this with bash directly | ||
|
||
# Test script | ||
# Runs some other scripts | ||
|
||
git_dir='/home/pi/Documents/ug-pi/' | ||
|
||
cd git_dir | ||
|
||
git pull >> ~/Documents/setup.log | ||
|
||
echo $(pwd) > testing.txt | ||
|
||
/home/pi/Documents/ug-pi/src/pi_startup/startup_stuff/test.sh | ||
bash ./src/pi_startup/startup_stuff/test.sh | ||
|
||
python3 /home/pi/Documents/ug-pi/src/pi_startup/startup_stuff/test.py > ~/Documents/test_py_output.txt | ||
python3 ./src/pi_startup/startup_stuff/test.py > ~/Documents/test_py_output.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
|
||
# No shebang, not executable. Run this with bash directly | ||
|
||
python3 $1 > test_py_output.txt |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
#! /bin/bash | ||
# No shebang, not executable. Run this with bash directly | ||
|
||
# Makes a file somewhere | ||
|
||
|