On Fri, Dec 01, 2006 at 01:59:29AM -0500, James K. Lowden
wrote:
> Prasanta Sadhukhan wrote:
> > I tried /etc/rc.d/inetd start -> says
"Starting inetd"
> > but /etc/rc.d/inetd/status -> says "inetd
is not running
>
> Maybe it's turned of in rc.conf? What does this say on
your machine?
>
> $ grep inet /etc/rc.conf /etc/defaults/rc.conf
> /etc/defaults/rc.conf:# inetd is used to [...]
> /etc/defaults/rc.conf:inetd=YES
inetd_flags="-l"
the canonical way to determine whether a service is enabled
or not is to
check its "rcvar" status (which also tells you the
precise name of the
variable in case it differs wrt to the name of the script):
enabled:
> /etc/rc.d/inetd rcvar
# inetd
$inetd=YES
disabled:
> /etc/rc.d/inetd rcvar
# inetd
$inetd=NO
regards,
--
-- Lubomir Sedlacik <salo {NetBSD,Xtrmntr,silcnet}.org> --
|