The message below never made it through to the list, according to <http://cygwin.com/ml/cygwin/2013-03/>, probably because of the attached file.
What is the best way to share the code I've written for the shutdown package??? Regards, Frank ---------- Forwarded message ---------- From: Frank Fesevur <x...@yyyy.zzz> Date: 2013/3/19 14:02 Subject: Re: reboot command behaves different on Linux To: "x...@yyyy.zzz" 2013/3/19 marco atzeri: > reboot on cygwin is just a link to shutdown I know. But the symlinks "reboot", "hibernate" and "suspend" don't react as I would have expected. I have attached a patched/rewritten version of the shutdown command. It also adds support for a symlink named "halt" and "poweroff". It is up to Corinna if she likes my version or not. $ ./halt --help Usage: halt [OPTION]... Bring the system down. -f, --force Forces the execution. -x, --exitex Use ExitWindowsEx rather than InitateSystemShutdown. --help Display this help and exit. --version Output version information and exit. If wanted I'm willing to create basic shutdown.8 and reboot.8 man pages. Regards, Frank -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple