for i in `grep $SPELL $DEPENDS_STATUS`
    do if [ `echo $i | cut -d: -f1` =  "$SPELL" ] &&
          [ `echo $i | cut -d: -f2` == "linux-pam" ] &&
          [ `echo $i | cut -d: -f3` =  "on" ]
          then on_cast linux-pam cast_self
    fi
done

