#!/bin/sh
trap 'exit 1' USR1
trap 'exit 2' USR2
read cmd
echo $cmd # for use in `loop`

