Date: Fri, 16 Dec 2005 12:22:22 -0500 From: Josh Endries <josh@endries.org> To: freebsd-questions@freebsd.org Subject: Adding lines to /etc/rc.conf during sysinstall wihout being "REMOVED" Message-ID: <43A2F7CE.2010603@endries.org>
next in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43A2F7CE.2010603>