Greg Wooledge wrote:
if [ "$1" == on ]
this sounds strange. why a string doesn't need "" around in shell script?