On Tue, Apr 5, 2011 at 1:41 AM, Kumar Appaiah a.ku...@alumni.iitm.ac.in wrote:
On Tue, Apr 05, 2011 at 11:57:31AM +0800, waterloo wrote:
How to run a command as root when I shutdown system automatically ?
I use Debian 6 amd64.
Searching online led me to this:
On Tue, Apr 05, 2011 at 11:57:31AM +0800, waterloo wrote:
How to run a command as root when I shutdown system automatically ?
I use Debian 6 amd64.
Make it an init script that is only called in runmodes 0 (for shutdown)
and 6 (for reboot)? I think the proper way to do this would be to set
How to run a command as root when I shutdown system automatically ?
I use Debian 6 amd64.
w == waterloo waterloo2...@gmail.com writes:
w How to run a command as root when I shutdown system automatically ?
w I use Debian 6 amd64.
make a /root/bin/myshutdown script and run that instead perhaps.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of
On Tue, Apr 05, 2011 at 11:57:31AM +0800, waterloo wrote:
How to run a command as root when I shutdown system automatically ?
I use Debian 6 amd64.
Searching online led me to this:
http://synapse.wordpress.com/2007/03/24/run-a-script-on-startup-shutdown-in-linux/
HTH.
Kumar
--
The
5 matches
Mail list logo