From: Friedrich L. <fr...@us...> - 2006-04-23 13:29:44
|
Update of /cvsroot/devil-linux/build/config/etc/initrd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15153 Modified Files: linuxrc Log Message: get PID of klogd the more portable way Index: linuxrc =================================================================== RCS file: /cvsroot/devil-linux/build/config/etc/initrd/linuxrc,v retrieving revision 1.85 retrieving revision 1.86 diff -u -d -r1.85 -r1.86 --- linuxrc 16 Apr 2006 22:38:02 -0000 1.85 +++ linuxrc 23 Apr 2006 13:29:40 -0000 1.86 @@ -372,7 +372,7 @@ modprobe -r 2> /dev/null # kill our klogd -kill `ps | grep klogd | cut -f 1 -d 0` 2> /dev/null +kill `ps | grep klogd | grep -v grep | awk '{ print $1 }'` # create the devices we need mkdir -p /shm/dev/ |