#!/bin/bash while true ; do stopos next -m echo "$STOPOS_COMMITTED $STOPOS_VALUE" if [ "$STOPOS_RC" != OK ]; then exit fi done