X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=popproxy.init;h=372f3ec2bcd57bc890026fbf390efcce3ac422e2;hb=c012203067cb139782a023d3bed2bd0b2c608667;hp=9a821990f7a9c85616f4cac6f1da61a432a83608;hpb=854627576c6f22337ca5070bd188bb9d9fa79da2;p=cascardo%2Frnetproxy.git diff --git a/popproxy.init b/popproxy.init index 9a82199..372f3ec 100644 --- a/popproxy.init +++ b/popproxy.init @@ -10,9 +10,13 @@ POPPROXY_BIN=/usr/sbin/popproxy +if [ -f /etc/init.d/functions ] + . /etc/init.d/functions +fi + case $1 in start) - startproc $POPPROXY_BIN + daemon $POPPROXY_BIN ;; stop) killproc $POPPROXY_BIN