David,
I include the following entry into [default] profile in lts.conf
CRONTAB_02 = "* * * * * root /sbin/nbd-client -c /dev/nbd0 > /dev/null 2>&1
|| echo o > /proc/sysrq-trigger"
It periodically checks presence of the mounted nbd device (that breaks upon
restart or shutdown of the server) and runs low-level shutdown of the thin
client. You could use "b" in place of "o" to reboot it (more options can be
found at https://www.centos.org/docs/5/html/5.1/Deployment_Guide/s3-
proc-sys-kernel.html)
--
Simon
I often ssh into a remote server to update it and the client image.
> Afterwards I want to reboot the server. If I reboot the server with clients
> running they get 'detached' from the server and need to be rebooted
> themselves, a hassle for the teacher of that classroom.
> It would require much less communication/coordination if I could just issue
> a command via ssh to shutdown all detected clients after the
> updating/image-rebuilding.
> Does such a thing exist and if so, what would that command be?
> Thanks,
> David
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net