| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
# |
|
2
|
|
|
|
|
|
|
# This file is part of Config-Model-Systemd |
|
3
|
|
|
|
|
|
|
# |
|
4
|
|
|
|
|
|
|
# This software is Copyright (c) 2008-2022 by Dominique Dumont. |
|
5
|
|
|
|
|
|
|
# |
|
6
|
|
|
|
|
|
|
# This is free software, licensed under: |
|
7
|
|
|
|
|
|
|
# |
|
8
|
|
|
|
|
|
|
# The GNU Lesser General Public License, Version 2.1, February 1999 |
|
9
|
|
|
|
|
|
|
# |
|
10
|
1
|
|
|
1
|
|
251303
|
use strict; |
|
|
1
|
|
|
1
|
|
3
|
|
|
|
1
|
|
|
1
|
|
34
|
|
|
|
1
|
|
|
|
|
1954
|
|
|
|
1
|
|
|
|
|
4
|
|
|
|
1
|
|
|
|
|
28
|
|
|
|
1
|
|
|
|
|
2442
|
|
|
|
1
|
|
|
|
|
6
|
|
|
|
1
|
|
|
|
|
31
|
|
|
11
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
|
1
|
|
|
1
|
|
2
|
|
|
|
1
|
|
|
1
|
|
137
|
|
|
|
1
|
|
|
|
|
6
|
|
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
153
|
|
|
|
1
|
|
|
|
|
6
|
|
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
208
|
|
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
return [ |
|
14
|
|
|
|
|
|
|
{ |
|
15
|
|
|
|
|
|
|
'accept' => [ |
|
16
|
|
|
|
|
|
|
'.*', |
|
17
|
|
|
|
|
|
|
{ |
|
18
|
|
|
|
|
|
|
'type' => 'leaf', |
|
19
|
|
|
|
|
|
|
'value_type' => 'uniline', |
|
20
|
|
|
|
|
|
|
'warn' => 'Unexpected systemd parameter. Please contact cme author to update systemd model.' |
|
21
|
|
|
|
|
|
|
} |
|
22
|
|
|
|
|
|
|
], |
|
23
|
|
|
|
|
|
|
'element' => [ |
|
24
|
|
|
|
|
|
|
'disable', |
|
25
|
|
|
|
|
|
|
{ |
|
26
|
|
|
|
|
|
|
'description' => 'When true, cme will disable a configuration file supplied by the vendor by placing place a symlink to /dev/null with the same filename as the vendor configuration file. See L<systemd-system.conf> for details.', |
|
27
|
|
|
|
|
|
|
'summary' => 'disable configuration file supplied by the vendor', |
|
28
|
|
|
|
|
|
|
'type' => 'leaf', |
|
29
|
|
|
|
|
|
|
'upstream_default' => '0', |
|
30
|
|
|
|
|
|
|
'value_type' => 'boolean' |
|
31
|
|
|
|
|
|
|
}, |
|
32
|
|
|
|
|
|
|
'Socket', |
|
33
|
|
|
|
|
|
|
{ |
|
34
|
|
|
|
|
|
|
'config_class_name' => 'Systemd::Section::Socket', |
|
35
|
|
|
|
|
|
|
'type' => 'warped_node', |
|
36
|
|
|
|
|
|
|
'warp' => { |
|
37
|
|
|
|
|
|
|
'follow' => { |
|
38
|
|
|
|
|
|
|
'disable' => '- disable' |
|
39
|
|
|
|
|
|
|
}, |
|
40
|
|
|
|
|
|
|
'rules' => [ |
|
41
|
|
|
|
|
|
|
'$disable', |
|
42
|
|
|
|
|
|
|
{ |
|
43
|
|
|
|
|
|
|
'level' => 'hidden' |
|
44
|
|
|
|
|
|
|
} |
|
45
|
|
|
|
|
|
|
] |
|
46
|
|
|
|
|
|
|
} |
|
47
|
|
|
|
|
|
|
}, |
|
48
|
|
|
|
|
|
|
'Unit', |
|
49
|
|
|
|
|
|
|
{ |
|
50
|
|
|
|
|
|
|
'config_class_name' => 'Systemd::Section::SocketUnit', |
|
51
|
|
|
|
|
|
|
'type' => 'warped_node', |
|
52
|
|
|
|
|
|
|
'warp' => { |
|
53
|
|
|
|
|
|
|
'follow' => { |
|
54
|
|
|
|
|
|
|
'disable' => '- disable' |
|
55
|
|
|
|
|
|
|
}, |
|
56
|
|
|
|
|
|
|
'rules' => [ |
|
57
|
|
|
|
|
|
|
'$disable', |
|
58
|
|
|
|
|
|
|
{ |
|
59
|
|
|
|
|
|
|
'level' => 'hidden' |
|
60
|
|
|
|
|
|
|
} |
|
61
|
|
|
|
|
|
|
] |
|
62
|
|
|
|
|
|
|
} |
|
63
|
|
|
|
|
|
|
}, |
|
64
|
|
|
|
|
|
|
'Install', |
|
65
|
|
|
|
|
|
|
{ |
|
66
|
|
|
|
|
|
|
'config_class_name' => 'Systemd::Section::Install', |
|
67
|
|
|
|
|
|
|
'type' => 'warped_node', |
|
68
|
|
|
|
|
|
|
'warp' => { |
|
69
|
|
|
|
|
|
|
'follow' => { |
|
70
|
|
|
|
|
|
|
'disable' => '- disable' |
|
71
|
|
|
|
|
|
|
}, |
|
72
|
|
|
|
|
|
|
'rules' => [ |
|
73
|
|
|
|
|
|
|
'$disable', |
|
74
|
|
|
|
|
|
|
{ |
|
75
|
|
|
|
|
|
|
'level' => 'hidden' |
|
76
|
|
|
|
|
|
|
} |
|
77
|
|
|
|
|
|
|
] |
|
78
|
|
|
|
|
|
|
} |
|
79
|
|
|
|
|
|
|
} |
|
80
|
|
|
|
|
|
|
], |
|
81
|
|
|
|
|
|
|
'generated_by' => 'parse-man.pl from systemd doc', |
|
82
|
|
|
|
|
|
|
'name' => 'Systemd::Socket', |
|
83
|
|
|
|
|
|
|
'rw_config' => { |
|
84
|
|
|
|
|
|
|
'auto_create' => '1', |
|
85
|
|
|
|
|
|
|
'auto_delete' => '1', |
|
86
|
|
|
|
|
|
|
'backend' => 'Systemd::Unit', |
|
87
|
|
|
|
|
|
|
'file' => '&index.socket' |
|
88
|
|
|
|
|
|
|
} |
|
89
|
|
|
|
|
|
|
} |
|
90
|
|
|
|
|
|
|
] |
|
91
|
|
|
|
|
|
|
; |
|
92
|
|
|
|
|
|
|
|