This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Execute command at shutdown
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 02 Jul 2006 13:20:34 -0400
- Subject: Re: Execute command at shutdown
- References: <e88ni0$hsu$1@sea.gmane.org>
- Reply-to: cygwin at cygwin dot com
Maurício wrote:
Hi,
Is it possible, using some cygwin functionality, to tell Windows to
execute a command at shutdown? For instance, I would like to have:
ipconfig.exe /release
executed everytime I shutdown Windows, since I need that to avoid
problems with my cable provider when using dual-boot. How can I do that?
As an alternative to Igor's suggestions, if you're willing interject a
different shutdown scheme into your process, you can always create an
alias or a script that does the above and then calls Cygwin's 'shutdown'
in the flavor of your choice to do what you're looking for. 'shutdown'
is available in it's own Cygwin package.
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/