aboutsummaryrefslogtreecommitdiff
path: root/conf.d/meson.build
blob: cede4e760b5bc92a4ddabd79fade6b1733e195aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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)