#!/bin/sh c=0; while [ 1 ]; do echo "daemon launched $c"; sleep 1; c=`expr $c + 1`; done;