diff -Nru a/splash-functions.sh b/splash-functions.sh --- a/splash-functions.sh 2005-03-18 10:02:59.986083592 +0100 +++ b/splash-functions.sh 2005-03-18 10:04:45.896982688 +0100 @ -195,8 +195,7 @@ # - one of the runlevel dirs has been modified since the last boot if [[ ! -e ${spl_cachedir}/levels || \ ! -e ${spl_cachedir}/svcs_start || \ - "$(head -n1 ${spl_cachedir}/levels)" != "${BOOTLEVEL}/${DEFAULTLEVEL}" || \ - "$(tail -n1 ${spl_cachedir}/levels)" != "$(stat -c '%y' /etc/runlevels/${BOOTLEVEL})/$(stat -c '%y' /etc/runlevels/${DEFAULTLEVEL})" || \ + "$(cat ${spl_cachedir}/levels)" != "${BOOTLEVEL}/${DEFAULTLEVEL}\n$(stat -c '%y' /etc/runlevels/${BOOTLEVEL})/$(stat -c '%y' /etc/runlevels/${DEFAULTLEVEL})" || \ "$(stat -c '%y' ${spl_cachedir}/deptree)" != "${h}" ]]; then echo $(splash_svclist_update "start") > ${spl_cachedir}/svcs_start fi