I propose we call a shell script of our own that we keep in /usr/share/ldm so admins can modify it easily as needed and it can be a script that is extensible (perhaps to do something more than just shutdown).
-Gadi On Thu, 2009-05-07 at 14:18 -0500, Scott Balneaves wrote: > On Thu, May 07, 2009 at 09:25:49AM -0700, syn wrote: > > "poweroff -f" forces halt to run, which isn't the cleanest way to shut > > things down. "-f" might be related to an issue lns noticed with thin > > clients not being able to power back up after shutdown (that has yet > > to be completely verified). "poweroff -p" should be no different than > > "poweroff" because poweroff is "halt -p". > > > > I'd argue that "poweroff -p" should be changed to "shutdown -h now" as > > to allow the shutdown to take care of everything smoothly. Is there a > > reason *not* to just use the standard and recommended method of > > "shutdown"? > > Typically, with a thin client, once you've logged out, hitting the power > button > should just "turn it off" immediately, as there's nothing running in the > background such as a database, or a web server, etc. Running a full shutdown > will actually take a few seconds, and some users may find that disconcerting, > especially if they're used to hitting the power button and it immediately > powers off. > > We have about 7.735026654556x10^6452 variables now in lts.conf, one supposes > an > "LDM_SHUTDOWN_COMMAND" or the like with a default to "poweroff -fp" would be > the way to go, and people with buggy acpi bioses can then sub in shutdown -h > now or whatever they prefer. > > Scott > -- -------------------------------------------------------- Gideon Romm | Proud LTSP Developer [email protected] Support LTSP! Buy your hardware at: www.DisklessWorkstations.com www.DisklessThinClients.com (use coupon code: LTSP5P for 5% off thin clients from DisklessThinClients.com) ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _____________________________________________________________________ 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
