Use double-bracket style everywhere in rc*.sh

Standardize on using double-bracket tests in rc*.sh scripts.

Change-Id: Ia118cff0ef04d8c1cf045709a88c71fa961c95b6