File: zg-policy-rc.d.pod

package info (click to toggle)
policyrcd-script-zg2 0.1-3.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 332 kB
  • sloc: sh: 2,940; makefile: 10
file content (33 lines) | stat: -rw-r--r-- 857 bytes parent folder | download | duplicates (2)
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
=head1 NAME

zg-policy-rc.d - allows flexible handling of policy-rc.d

=head1 DOCUMENTATION

zg-policy-rc.d is a script which provides flexible handling of the
policy-rc.d script. As invoke-rc.d only looks for policy-rc.d in
/usr/sbin, putting local binaries there would be a policy violation.

Hence, this script.

If the environment variable POLICYRCD is set, the script the variable
pointed to is used. If POLICYRCD is not set,
/etc/zg-policy-rc.d.conf is sourced. /etc/zg-policy-rc.d.conf can
set the POLICYRCD variable.

If invocation of /etc/zg-policy-rc.d.conf does not give a POLICYRCD
value set, the script checks for executeable files in
/usr/local/sbin/policy-rc.d and /etc/policy-rc.d and uses the first
one it finds.

=head1 BUGS

Many. Be prepared to debug.

=head1

invoke-rc.d(8)

=head1 AUTHOR

Marc Haber <mh+debian-packages@zugschlus.de>