[3123] in RedHat Linux List

home help back first fref pref prev next nref lref last post

/etc/rc.d/init.d/halt & single

daemon@ATHENA.MIT.EDU (Joerg Mertin)
Thu Nov 7 06:52:39 1996

From: Joerg Mertin <joerg@pc50.zrz.TU-Berlin.DE>
To: redhat-list@redhat.com
Date: Thu, 7 Nov 1996 12:46:59 +0100 (MET)
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

-----BEGIN PGP SIGNED MESSAGE-----

Hi Folks ...

Just wanted to note to 2 little annoying things. I posted it once to this 
list, but it looks like it went down in the Action ;)

When shutting down the System or going into single User-mode, the halt 
and single scripts still use kill -15 -1 or kill -9 -1. It woks, but I 
always get: No more processes left in runlevel, and I don't like this 
warnong. Why not use the killall5 programm ??? It's made explicitely for 
this purpose. I alway have to change the lines:

echo "Sending all processes the TERM signal..."
kill -15 -1
sleep 5
echo "Sending all processes the KILL signal.."
kill -9 -1

to

echo "Sending all processes the TERM signal..."
killall5 -15
sleep 5
echo "Sending all processes the KILL signal.."
killall5 -9

This should have been fixed by the time... Donnie, Eric, all of you. when 
you release a new rpm-version of sysinitscripts, please put this little 
Change in, that makes the system look cleaner ;)

cu
- -- 
*************************************************
* System Admin:                                 *
*           mnjo4000@linux.zrz.TU-Berlin.DE     *
*           mertin@zrz.TU-Berlin.DE             *
*           http://www.zrz.TU-Berlin.DE/~mertin *
* Private:  smurphy@linux.de                    *
*           smurphy@antares.zrz.TU-Berlin.DE    *
*************************************************

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i

iQCVAwUBMoHMMVB01MlWlcI9AQHxswP/bZ3DxMMAC6E5Ytxiuud3aWrtI9ccrWkP
9nGJAHIdZPBUMOg8c4Xw113eW6N4OhWnlMQW5cWwBEgut8gdOn7bOFQR3CIOG+bu
EfLW1akp9vvlAR6SGKoJcEvj441OHMvS4+1RmgNRVIKGYVnzVPJSXKruhl0k8Lct
6p6jPpVQ2Jc=
=UOX2
-----END PGP SIGNATURE-----


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post