]>
Commit | Line | Data |
---|---|---|
db9ecf05 | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
3a726fcd | 2 | |
349cc4a5 | 3 | if conf.get('ENABLE_NETWORKD') == 1 |
bae0bd00 YW |
4 | install_data( |
5 | '80-6rd-tunnel.network', | |
658169e6 | 6 | '80-6rd-tunnel.link', |
bae0bd00 YW |
7 | '80-container-host0.network', |
8 | '80-container-vb.network', | |
658169e6 | 9 | '80-container-vb.link', |
bae0bd00 | 10 | '80-container-ve.network', |
658169e6 | 11 | '80-container-ve.link', |
bae0bd00 | 12 | '80-container-vz.network', |
658169e6 | 13 | '80-container-vz.link', |
8aee931e | 14 | '80-namespace-ns.network', |
6bd675a6 | 15 | '80-namespace-ns.link', |
bae0bd00 | 16 | '80-vm-vt.network', |
658169e6 | 17 | '80-vm-vt.link', |
bae0bd00 | 18 | '80-wifi-adhoc.network', |
9b7a6242 YW |
19 | install_dir : networkdir) |
20 | ||
21 | example_network_files = files( | |
22 | '80-auto-link-local.network.example', | |
23 | '89-ethernet.network.example', | |
bae0bd00 YW |
24 | '80-wifi-ap.network.example', |
25 | '80-wifi-station.network.example', | |
9b7a6242 YW |
26 | ) |
27 | ||
205a30fa ZJS |
28 | install_data( |
29 | example_network_files, | |
30 | install_dir : networkdir) | |
31 | ||
9b7a6242 YW |
32 | if get_option('default-network') |
33 | foreach f : example_network_files | |
34 | install_data( | |
35 | f, | |
e941da84 | 36 | rename : fs.replace_suffix(fs.name(f), ''), |
9b7a6242 YW |
37 | install_dir : networkdir) |
38 | endforeach | |
9b7a6242 | 39 | endif |
5c23128d | 40 | endif |
9ac47f38 ZJS |
41 | |
42 | install_data('99-default.link', | |
43 | install_dir : networkdir) | |
6256c65a YW |
44 | |
45 | if install_sysconfdir | |
46 | install_emptydir(sysconfdir / 'systemd/network') | |
47 | endif |