#!/bin/bash . /etc/rc.conf . /etc/rc.d/functions [ -f /etc/conf.d/mdd.conf ] && . /etc/conf.d/mdd.conf PID=$(pidof -o %PPID -x /usr/bin/vendor_perl/mdd.pl) [[ -n $PID ]] && kill $PID &> /dev/null