From: Friedrich L. <fr...@us...> - 2006-04-23 13:28:59
|
Update of /cvsroot/devil-linux/build/config/etc/initrd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14243 Modified Files: Tag: rel-1-2-patches 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.70.2.6 retrieving revision 1.70.2.7 diff -u -d -r1.70.2.6 -r1.70.2.7 --- linuxrc 16 Apr 2006 22:37:37 -0000 1.70.2.6 +++ linuxrc 23 Apr 2006 13:28:53 -0000 1.70.2.7 @@ -366,7 +366,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 }'` # mount shared memory filesystem echo "Mounting SHM FS on /cdrom/shm" |