]>
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', |
bae0bd00 | 14 | '80-vm-vt.network', |
658169e6 | 15 | '80-vm-vt.link', |
bae0bd00 | 16 | '80-wifi-adhoc.network', |
9b7a6242 YW |
17 | install_dir : networkdir) |
18 | ||
19 | example_network_files = files( | |
20 | '80-auto-link-local.network.example', | |
21 | '89-ethernet.network.example', | |
bae0bd00 YW |
22 | '80-wifi-ap.network.example', |
23 | '80-wifi-station.network.example', | |
9b7a6242 YW |
24 | ) |
25 | ||
205a30fa ZJS |
26 | install_data( |
27 | example_network_files, | |
28 | install_dir : networkdir) | |
29 | ||
9b7a6242 YW |
30 | if get_option('default-network') |
31 | foreach f : example_network_files | |
32 | install_data( | |
33 | f, | |
e941da84 | 34 | rename : fs.replace_suffix(fs.name(f), ''), |
9b7a6242 YW |
35 | install_dir : networkdir) |
36 | endforeach | |
9b7a6242 | 37 | endif |
5c23128d | 38 | endif |
9ac47f38 ZJS |
39 | |
40 | install_data('99-default.link', | |
41 | install_dir : networkdir) | |
6256c65a YW |
42 | |
43 | if install_sysconfdir | |
44 | install_emptydir(sysconfdir / 'systemd/network') | |
45 | endif |