42-wrap-gdm-x-session 278 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -eu

echo "Wrapping gdm-x-session to limit the number of allowed failures"

dpkg-divert --add --rename --divert \
            /usr/lib/gdm3/gdm-x-session.real \
	    /usr/lib/gdm3/gdm-x-session

ln -s /usr/lib/gdm3/gdm-x-session.tails /usr/lib/gdm3/gdm-x-session