Adding lines to /etc/rc.conf during sysinstall wihout being "REMOVED"

legalois legalois at acm.org
Sat Dec 17 01:50:51 PST 2005


Josh Endries wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Does anyone know the correct way to add lines to rc.conf without
> sysinstall commenting them out and prepending "REMOVED" to them,
> during an automated install.cfg routine? Currently I have a pkg I
> made that adds stuff like ntp.conf and rc.conf, but all the lines in
> my custom rc.conf are removed after the script finishes.
> 
> I looked through the code for sysinstall but didn't see any way to
> disable this behavior (my C isn't very good). What would be the
> correct way to do this? I'm now having my pkg install a rc.d script
> which cat's >> /etc/rc.conf...
> 
> Thanks,
> Josh
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (FreeBSD)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFDovfOV/+PyAj2L+IRAjzcAJ4lJm+8vIP3QLy/DmuxTB0b4APp1gCfbhI1
> waoWrsCORg3CiQMVToAFEaI=
> =RlT3
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 
> 

 >

Put the settings you do not want changed in /etc./rc.conf.local
Settings in /etc/rc.conf.local override those in /etc/rc.conf



More information about the freebsd-questions mailing list