Subject: Re: MacX, MI/X and XDM hack
To: Bob Nestor <rnestor@metronet.com>
From: David A. Gatwood <marsmail@globegate.utm.edu>
List: port-mac68k
Date: 07/19/1998 08:14:08
On Sun, 19 Jul 1998, Bob Nestor wrote:

> As I recall, the mac68k port of NetBSD still ships with "exec" disabled.  
> Check to see if it's commented out in /etc/inetd.conf.  If it is 
> commented out, remove the "#" from the front of the line.  Then locate 
> the inetd process (ps -aux | grep inetd) and send it a "kill -HUP <pid>" 
> where <pid> is it's process number. You could also just reboot your 
> system after the edit, although a real UNIX Guru would locate the process 
> and kill it all in one step using a combination of ps, grep, echo, awk 
> and half the strange keys on the keyboard.

Nah.  No need for awk, echo, sed, or even ps on this one, although the
severely demented might get the pid from a ps -aux just for kicks.  ;-)

I'd say just use kill and cat.  Something like:

kill -HUP $(cat /var/run/inetd.pid)


Later,
David

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/CC/FA/H/L/MC/M/MU/PA/TW d-@ s:>- a-- C++ ++>$ UBLAS*++ ++>$
P+?>$ L++ +>$ !E--- W++ +>$ N++(++ +)>++ +$ !o? K-? !w--- !O
M++>$ !V-- PS+>$ !PE- Y+>$ PGP+>$ t++ +>$ 5+>++ ++$ !X- !R tv+>$
b++>$ !DI !D- G++(++ +)>$ e>++ ++ h--! r--- !y-

Triple +'s divided into pairs/singles as a workaround for
non-Hayes-compliant modem firmware.

------END GEEK CODE BLOCK------