diff options
| author | jym <jym@NetBSD.org> | 2011-09-06 21:39:30 +0000 |
|---|---|---|
| committer | jym <jym@NetBSD.org> | 2011-09-06 21:39:30 +0000 |
| commit | dcf9ceba4d515e238cb0751f09b9a3027e037de0 (patch) | |
| tree | 01f62dfa8d75e97e6733f69f559179ee982959ca /sys/dev/raidframe | |
| parent | 42e47e2c33c0bd8436c3d2b9c12109403a1acbeb (diff) | |
/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!
Diffstat (limited to 'sys/dev/raidframe')
0 files changed, 0 insertions, 0 deletions
