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

Josh Endries josh at endries.org
Fri Dec 16 09:22:47 PST 2005


-----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-----


More information about the freebsd-questions mailing list