--- - branch: MAIN date: Tue Sep 6 21:39:30 UTC 2011 files: - new: '1.125' old: '1.124' path: src/usr.sbin/postinstall/postinstall pathrev: src/usr.sbin/postinstall/postinstall@1.125 type: modified id: 20110906T213930Z.946a0d8c07ed0d2d061f46b75e94fcc46c3e0dba log: | /etc/defaults/rc.conf can be modified at build time by getting additional arch-specific hooks appended to its end (currently: i386 and amd64). Handle this case in postinstall(8) by checking whether we are in $SOURCEMODE or not, and generate the correct rc.conf file on the fly in case we have to. Otherwise, postinstall(8) may install the default one obtained from a source directory that does not have the MD hooks appended to it. Problem reported by wiz@. Thanks! module: src subject: 'CVS commit: src/usr.sbin/postinstall' unixtime: '1315345170' user: jym