Debian Codegraph @

debian/generate-config

raw symbols SCIP
1 #! /bin/sh
2 set -e
3
4 as_gdm () {
5 # setsid to dissociate from the controlling terminal, if any.
6 # Under systemd, this is unnecessary, because this script is called
7 # from a systemd unit with stdout and stderr pointing to the Journal,
8 # but under sysvinit, /etc/init.d/gdm3 might be invoked by a sysadmin
9 # with its controlling terminal shared with their privileged shell.
10 setsid \
11 setpriv \
12 --reuid Debian-gdm --regid Debian-gdm --init-groups \
13 --no-new-privs \
14 --inh-caps=-all \
15 --reset-env \
16 -- \
17 "$@"
18 }
19
20 umask 022
21 install -d /var/lib
22 install -m711 -oDebian-gdm -gDebian-gdm -d /var/lib/gdm3
23
24 as_gdm dconf compile '/var/lib/gdm3/greeter-dconf-defaults' '/usr/share/gdm/dconf'
25 as_gdm pkill --signal 'HUP' --uid 'Debian-gdm' 'dconf-service' || true