File size: 1,598 Bytes
258fb37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>

# This file is part of Open5GS.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <https://www.gnu.org/licenses/>.

systemd_conf_in = '''
    open5gs-mmed.service
    open5gs-sgwcd.service
    open5gs-smfd.service
    open5gs-amfd.service
    open5gs-sgwud.service
    open5gs-upfd.service
    open5gs-hssd.service
    open5gs-pcrfd.service
    open5gs-nrfd.service
    open5gs-scpd.service
    open5gs-seppd.service
    open5gs-ausfd.service
    open5gs-udmd.service
    open5gs-pcfd.service
    open5gs-nssfd.service
    open5gs-bsfd.service
    open5gs-udrd.service
'''.split()

foreach file : systemd_conf_in
    configure_file(
            input : file + '.in',
            output : file,
            configuration : conf_data)
endforeach

systemd_conf = '''
    99-open5gs.netdev
    99-open5gs.network        
'''.split()

foreach file : systemd_conf
    configure_file(
            input : file,
            output : file,
            configuration : conf_data)
endforeach