I've rebooted my touch with raspberry with cron job.

i've done with this command

#!/usr/bin/expect
# Script to start our application
spawn ssh root@ip of your touch
sleep 1
expect ":"
sleep 1
expect ":"
send "yes\r"
sleep 1
send "1234\r"
sleep 1
expect "*#"
sleep 1
send "reboot\r"
sleep 1
send "reboot\r"

You must install before expect:
sudo apt-get install expect


------------------------------------------------------------------------
dettofatto's Profile: http://forums.slimdevices.com/member.php?userid=54805
View this thread: http://forums.slimdevices.com/showthread.php?t=104028

_______________________________________________
Touch mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/touch

Reply via email to