Harry,

I've been using this script on my Centos5 K12LTSP system:

#!/bin/bash
for ((x=253; x >= 1; x--)); do /usr/bin/ltspinfo --host=ws$x --shutdown;
done

Not sure if it also works or can be modified to work on Ubuntu.

K12LTSP sets up aliases to each workstation so you may need to use the
client ip addr instead.

Nick


Trillium Charter School
Math & Technology Educator
Information Analyst
Database Programmer
Technology Coordinator

http://www.trilliumcharterschool.org




On Thu, Nov 20, 2008 at 11:12 AM, Harry Sweet <[EMAIL PROTECTED]> wrote:

> Hi all.
>
> I've been trying to figure out how to shutdown all my thin clients from the
> server to turn them off at the end of the day.
>
> I tried shutdown -h from chrooted in /opt/ltsp/1386.  Managed to shut down
> the server.
>
> Anybody know a simple way to do this?   SSH maybe?
>
>
> Thanks
>
> harry sweet
> goshen high school
>
>
> --
> edubuntu-users mailing list
> [email protected]
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
>
-- 
edubuntu-users mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/edubuntu-users

Reply via email to