-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 15 Nov 2002 16:21:34 +1100, cj wrote:

> G'day all
> 
> Im using redhat 7.1
> I would like to run a script when I issue the shutdown command or when
> the ctrl+alt+del combo.
> 
> what files would I need to edit to be able to run the script on
> shutdown?

/etc/init.d/halt

Or you add a custom SysV initscript to run-level 0.

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE91PIi0iMVcrivHFQRAhp4AJ48lhlmueUlWacjGWoDTpxtbnxAXwCfbCgJ
Qz0qOGEQt9M2DdYbByEjKTk=
=Omnm
-----END PGP SIGNATURE-----



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to