2021-08-22 23:39:30 +05:30
|
|
|
conf_d_dir = get_option('sysconfdir') / 'conf.d'
|
|
|
|
|
|
|
|
conf_common = [
|
|
|
|
'bootmisc',
|
|
|
|
'fsck',
|
|
|
|
'hostname',
|
|
|
|
'localmount',
|
|
|
|
'netmount',
|
|
|
|
'swap',
|
|
|
|
]
|
|
|
|
|
|
|
|
conf_net = [
|
|
|
|
'network',
|
|
|
|
'staticroute',
|
|
|
|
]
|
|
|
|
|
|
|
|
conf_FreeBSD = [
|
|
|
|
'ipfw',
|
|
|
|
'modules',
|
|
|
|
'moused',
|
|
|
|
'powerd',
|
|
|
|
'rarpd',
|
|
|
|
'savecore',
|
|
|
|
'syscons',
|
2022-03-30 21:45:13 +05:30
|
|
|
'urandom',
|
2021-08-22 23:39:30 +05:30
|
|
|
]
|
|
|
|
|
|
|
|
conf_Linux = [
|
|
|
|
'agetty',
|
|
|
|
'consolefont',
|
|
|
|
'devfs',
|
|
|
|
'dmesg',
|
|
|
|
'hwclock',
|
|
|
|
'keymaps',
|
|
|
|
'killprocs',
|
|
|
|
'modules',
|
|
|
|
'mtab',
|
|
|
|
'net-online',
|
2022-03-30 21:45:13 +05:30
|
|
|
'seedrng',
|
2021-08-22 23:39:30 +05:30
|
|
|
]
|
|
|
|
|
|
|
|
conf_NetBSD = [
|
|
|
|
'moused',
|
|
|
|
'rarpd',
|
|
|
|
'savecore',
|
2022-03-30 21:45:13 +05:30
|
|
|
'urandom',
|
2021-08-22 23:39:30 +05:30
|
|
|
]
|
|
|
|
|
|
|
|
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)
|