#!/bin/sh # # init.d script for HELM daemons # # by --Zack # Created: Tue, 8 Oct 2002 17:18:17 +0200 # Last-Modified: Tue, 8 Oct 2002 17:18:17 +0200 DAEMONS="" if [ -f /etc/default/helm ]; then . /etc/default/helm fi case "$1" in start|stop|restart|force-reload|reload) for d in $DAEMONS; do /etc/init.d/$d $1 done ;; *) echo echo "Usage: /etc/init.d/helm { start | stop | restart | force-reload | reload }" >&2 echo if [ -z "$DAEMONS" ]; then echo "Actually, no daemons are considered!" else echo "Actually, considered daemons are: $DAEMONS" fi echo "to change this setting see /etc/default/helm" echo exit 1 ;; esac