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