Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revisionBoth sides next revision | ||
using_a_samsung_tv_as_computer_screen [25.01.2017 00:13] – Pascal Suter | using_a_samsung_tv_as_computer_screen [25.01.2017 00:36] – Pascal Suter | ||
---|---|---|---|
Line 25: | Line 25: | ||
if [ $? -eq 0 ]; then | if [ $? -eq 0 ]; then | ||
if [ "`cat / | if [ "`cat / | ||
- | ssh pi@192.168.168.169 | + | ssh pi@< |
echo " | echo " | ||
fi | fi | ||
Line 31: | Line 31: | ||
else | else | ||
if [ "`cat / | if [ "`cat / | ||
- | ssh pi@192.168.168.169 | + | ssh pi@< |
echo " | echo " | ||
fi | fi | ||
Line 40: | Line 40: | ||
- now make sure this script is started as background process on boot. in ubuntu you can simply add this line to your ''/ | - now make sure this script is started as background process on boot. in ubuntu you can simply add this line to your ''/ | ||
</ | </ | ||
+ | - make sure your rc-local service is activated and restart it to test your script: < | ||
+ | - in order to test if everything is working, you can force your screen to standby by running this command in a terminal < | ||