#!/sbin/runscript # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ PIDFILE=${PIDFILE:-/var/run/cntlm.pid} depend() { need net } start() { ebegin "Startin cntlm" start-stop-daemon --start --exec /usr/bin/cntlm --pidfile ${PIDFILE} -- -U cntlm -P ${PIDFILE} ${CNTLM_OPTS} eend $? } stop() { ebegin "Stoppint cntlm" start-stop-daemon --stop --pidfile ${PIFDILE} eend $? }