aboutsummaryrefslogtreecommitdiff
path: root/conf.d/meson.build
blob: ddb056a402805572c888008c1560864291445dbe (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
conf_d_dir = get_option('sysconfdir') / 'conf.d'

conf_common = [
  'bootmisc',
  'fsck',
  'hostname',
  'localmount',
  'netmount',
  'swap',
  'urandom',
  ]

conf_net = [
  'network',
  'staticroute',
  ]

conf_FreeBSD = [
  'ipfw',
  'modules',
  'moused',
  'powerd',
  'rarpd',
  'savecore',
  'syscons',
  ]

conf_Linux = [
  'agetty',
  'consolefont',
  'devfs',
  'dmesg',
  'hwclock',
  'keymaps',
  'killprocs',
  'modules',
  'mtab',
  'net-online',
  ]

conf_NetBSD =  [
  'moused',
  'rarpd',
  'savecore',
  ]

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)