Hi, On Wed, Feb 02, 2000 at 18:17 +0100, Timothy Metz wrote:
I wrote a sysinit script for /sbin/init.d/ that starts and stops xfstt (the ttf font server). There is no easy way to quit xfstt (ie xfstt -q or xfstt -x) so I pipe ps to grep, write a temp file, read it into a couple variables then kill $pid. The problem is xfstt spawns itself for every connection to the font server and someitimes when dropping a runlevel there may be more than one instance of xfstt running. I do not know how to read in the variables of mulitple processes. I know it really isn't necessary to start and stop xfstt in the runlevels but it has been an excellent excersise in shell programming. Any help would be greatly appreciated. The script is attatched.
Have you tried `killproc /usr/X11/bin/xfstt'? That should shut down all xfstt processes. Ciao, Stefan Please, if you start writing about a new topic create a new message rather then replying to a totally unrelated one. Otherwise the thread display in certain mailers is messed up. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/