mirror of
https://github.com/OpenRC/openrc.git
synced 2024-11-27 03:44:16 +08:00
839083bb52
This fixes #565.
63 lines
884 B
Meson
63 lines
884 B
Meson
conf_d_dir = get_option('sysconfdir') / 'conf.d'
|
|
|
|
conf_common = [
|
|
'bootmisc',
|
|
'fsck',
|
|
'hostname',
|
|
'localmount',
|
|
'netmount',
|
|
'swap',
|
|
'swclock',
|
|
]
|
|
|
|
conf_net = [
|
|
'network',
|
|
'staticroute',
|
|
]
|
|
|
|
conf_FreeBSD = [
|
|
'ipfw',
|
|
'modules',
|
|
'moused',
|
|
'powerd',
|
|
'rarpd',
|
|
'savecore',
|
|
'syscons',
|
|
'urandom',
|
|
]
|
|
|
|
conf_Linux = [
|
|
'agetty',
|
|
'consolefont',
|
|
'devfs',
|
|
'dmesg',
|
|
'hwclock',
|
|
'keymaps',
|
|
'killprocs',
|
|
'modules',
|
|
'mtab',
|
|
'net-online',
|
|
'seedrng',
|
|
]
|
|
|
|
conf_NetBSD = [
|
|
'moused',
|
|
'rarpd',
|
|
'savecore',
|
|
'urandom',
|
|
]
|
|
|
|
conf_data = conf_common
|
|
if get_option('newnet')
|
|
conf_data = conf_data + conf_net
|
|
endif
|
|
if os == 'FreeBSD'
|
|
conf_data = conf_data + conf_FreeBSD
|
|
elif os == 'Linux'
|
|
conf_data = conf_data + conf_Linux
|
|
elif os == 'NetBSD'
|
|
conf_data = conf_data + conf_NetBSD
|
|
endif
|
|
|
|
install_data(conf_data, install_dir : conf_d_dir)
|