(b) In the case of default in making payment of an obligation then fully payable by its terms, such sums shall be the amount of interest accruing monthly on said obligation at the nondefault rate, paid to the clerk of the court every thirty days.
In the case of default in performance of any nonmonetary obligation secured by the deed of trust, the court shall impose such conditions as it deems just.
In addition, the court may condition granting the restraining order or injunction upon the giving of security by the applicant, in such form and amount as the court deems proper, for the payment of such costs and damages, including attorneys' fees, as may be later found by the court to have been incurred or suffered by any party by reason of the restraining order or injunction. The court may consider, upon proper showing, the grantor's equity in the property in determining the amount of said security.