PREIN
/bin/sh
# ignore errors, as we can't disambiguate between gdm already existed # and couldn't create account with the current adduser. (/usr/sbin/useradd -u 42 -r gdm > /dev/null 2>&1 ; exit 0)
POSTIN
/bin/sh
if [ -f /etc/X11/xdm/Xsession -a ! -x /etc/X11/xdm/Xsession ]; then chmod +x /etc/X11/xdm/Xsession fi /sbin/ldconfig
POSTUN
/bin/sh
/sbin/ldconfig