# lliurex.pam - forces gdm to wait until required pam services are up and running # description "waits until lliurex pam services are started" start on starting gdm pre-start script SRV_TOOL="/usr/sbin/lliurex-pamnss-service" [ -x $SRV_TOOL ] || exit 0 while ! $SRV_TOOL test ; do sleep 1 done end script