Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Dec 2005 10:40:29 +0100
From:      legalois <legalois@acm.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:  <43A3DD0D.9080706@acm.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:
> -----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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43A3DD0D.9080706>