-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement PID and SSH checks, add autostart setup script. Remove opti…
…on for running as systemd service as it does not work with VLC.
- Loading branch information
1 parent
2a46e2b
commit 39f9937
Showing
6 changed files
with
163 additions
and
197 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
# This script will set Tiny TV to autostart when a local bash session starts. | ||
|
||
AUTOSTARTCOMMAND=tiny-tv 'category' --category 'cartoons' --shuffle True --volume 0 | ||
|
||
|
||
# ============================================================================== | ||
cd ~ | ||
echo '' | ||
echo -e '\033[93mSetting up autostart... \033[0m' | ||
sudo touch ~/.profile | ||
sudo sed -i '/\b\(tiny-tv\)\b/d' ~/.profile | ||
sudo sed -i "\$a$AUTOSTARTCOMMAND" ~/.profile |
Oops, something went wrong.