Is /etc/rc.conf scriptable?
Alexander at Leidinger.net
Tue Feb 1 14:16:30 UTC 2011
Quoting Yue Wu <vanopen at gmail.com> (from Tue, 1 Feb 2011 20:35:06 +0800):
> 2. check if bitlbee has been installed, if so, then let bitlbee
> service start.
> So I tried with following settings in rc.conf, but all of them failed,
> i.e., the networking can't be connected and bitlbee service doesn't
> if [ -x /usr/local/sbin/bitlbee ]; then
If it is not installed, there will be no rc.d script for it, so
nothing will happen. This means you just can add bitlbee_enable="YES"
unconditionally, and no error/warning message will show up during boot.
There's no time like the present for postponing
what you don't want to do.
http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
More information about the freebsd-stable