| 1 | #! /bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | set -e |
| 3 | |
| 4 | as_gdmscip-shell shell shell-project 0.0.0 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 | setsidscip-shell system . . 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 | installscip-shell system . . install. -d /var/libscip-shell filesystem . . `/var/lib`. |
| 22 | installscip-shell system . . install. -m711 -oDebian-gdm -gDebian-gdm -d /var/lib/gdm3scip-shell filesystem . . `/var/lib/gdm3`. |
| 23 | |
| 24 | as_gdmscip-shell shell shell-project 0.0.0 as_gdm(). dconf compile '/var/lib/gdm3/greeter-dconf-defaultsscip-shell filesystem . . `/var/lib/gdm3/greeter-dconf-defaults`.' '/usr/share/gdm/dconfscip-shell filesystem . . `/usr/share/gdm/dconf`.' |
| 25 | as_gdmscip-shell shell shell-project 0.0.0 as_gdm(). pkill --signal 'HUP' --uid 'Debian-gdm' 'dconf-service' || truescip-shell system . . true. |