Re: Confused about connection between an option in rc.conf and the associated action?
From: Sancho2k.net Lists (lists_at_sancho2k.net)
Date: 03/13/05
- Previous message: Ola Theander: "Confused about connection between an option in rc.conf and the associated action?"
- In reply to: Ola Theander: "Confused about connection between an option in rc.conf and the associated action?"
- Next in thread: Ronny Hippler: "Re: Confused about connection between an option in rc.conf and the associated action?"
- Reply: Ronny Hippler: "Re: Confused about connection between an option in rc.conf and the associated action?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 12 Mar 2005 19:15:18 -0700 To: Ola Theander <ola.theander@otsystem.com>
Ola Theander wrote:
> Dear subscribers
>
> I'm slightly confused about enabling an option in rc.conf and the associated
> action? E.g. say that I enable gateway_enable="YES" or maybe
> dhcpd_enable="YES", how does FreeBSD associate this simple line to the
> associated action? I've had a theory that adding e.g. test_enable="YES" to
> rc.conf would trigger the execution of the file /etc/rc.d/test.sh at boot
> time but it seems like this isn't how it's done.
A lot of the time these are connected to scripts in /usr/local/etc/rc.d/
for ports you've installed, a lot of the time they are just handled
natively by the system's supplied rc scripts. For example you can see
the gateway_enable variable used in /etc/rc.d/routing.
Having said that, I can't see where sshd_enable is used anywhere on my
system, although OpenSSH starts at boot...
DS
_______________________________________________
freebsd-newbies@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"
- Previous message: Ola Theander: "Confused about connection between an option in rc.conf and the associated action?"
- In reply to: Ola Theander: "Confused about connection between an option in rc.conf and the associated action?"
- Next in thread: Ronny Hippler: "Re: Confused about connection between an option in rc.conf and the associated action?"
- Reply: Ronny Hippler: "Re: Confused about connection between an option in rc.conf and the associated action?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]