Date: Fri, 16 Dec 2005 19:29:38 +0100 From: =?ISO-8859-1?Q?Erik_N=F8rgaard?= <norgaard@locolomo.org> To: Josh Endries <josh@endries.org> Cc: freebsd-questions@freebsd.org Subject: Re: Adding lines to /etc/rc.conf during sysinstall wihout being "REMOVED" Message-ID: <43A30792.1040208@locolomo.org> In-Reply-To: <43A2F7CE.2010603@endries.org> References: <43A2F7CE.2010603@endries.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Josh Endries wrote: > 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... could you post your install.cfg? Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43A30792.1040208>