--- trunk/mage/usr/lib/mage/smage2.sh 2011/06/04 09:27:23 1348 +++ trunk/mage/usr/lib/mage/smage2.sh 2011/06/04 09:45:04 1349 @@ -71,6 +71,13 @@ source ${file} [[ -n ${STATE} ]] && mystate="${STATE}" + + # do not overide if local state was broken or disabled! + case ${STATE} in + broken) return ;; + disabled) return ;; + esac + if [ -f ${SMAGESCRIPTSDIR}/distribution ] then source ${SMAGESCRIPTSDIR}/distribution