I'd like to configure my computer so that, with one command, I can log 
out and shut down.  I'm using kde, and the command for logging out of 
kde is kdeinit_shutdown.  This will bring me back to the login screen, 
though.  From there, I'd like to run /sbin/reboot or something similar. 
  Is there a way I can put these commands together so that after kde has 
been shut down, the computer would then also reboot.

I can't imagine a shell script would work:

#!/bin/bash
kdeinit_shutdown
/sbin/reboot

because the execution of the script would be stopped by the termination 
of kde before it got to the /sbin/reboot step.  Any ideas?


thanks
justin


_______________________________________________
Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list