SqueezeOS Reboot Script

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Post Reply
wcndave
Posts: 61
Joined: Tue Dec 17, 2013 10:21 am

SqueezeOS Reboot Script

Post by wcndave »

Sometimes (weekly) my jogglers just freeze up, and I plan to mount some in the wall and use PoE which means a reboot requires going to data cabinet and unplugging / replugging which is not very WAF friendly.

I have a NAS with an intranet site, I was thinking I could create a link which runs a script that does ssh into joggler and reboots it.

Has anyone tried or created any bash scripts which do ssh@joggler (without password prompt) and then I could modify to issue sudo shutdown -r now?
User avatar
johnnygal
Posts: 148
Joined: Tue Oct 11, 2011 1:07 am
Location: Stockport, UK

Re: SqueezeOS Reboot Script

Post by johnnygal »

I shut mine down at night using Putty (plink) with the command
plink -ssh joggler@<ip address> -pw <password> sudo shutdown -h now
Post Reply