case "$ROOTOPTS" in
     *ro*)
     exit 0
     ;;
esac

That will catch such option like

errors=continue

(valid option for ext2). My version just tried to avoid three cases

ro,*
*,ro,*
*,ro

-andrej

Reply via email to