#! /bin/bash # @(#)(CAcert) $Id: commdaemon,v 1.1 2009/12/28 15:09:24 wytze Exp $ # commdaemon - script to run CommModule script in a loop, # while checking for removal of activation by external script NAME=CommModule/commdaemon PID=$$ TAG=${NAME}\[${PID}] case $# in 1) SCRIPT=$1 ACTIVE=${SCRIPT}-active ;; *) echo "Usage: $0