#!/bin/sh BIN=frickin DEFAULT=/etc/default/$BIN [ -f $DEFAULT ] && . $DEFAULT case $1 in start) $BIN $OPTIONS & ;; *) echo "usage: $0 (start)" exit 1 esac exit $?