From: Bjoern Sikora Date: Wed, 19 May 2010 15:27:15 +0000 (+0200) Subject: Removed unneded helper function. X-Git-Tag: v1.1~113 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=1b195a8fc1db6436fc22ba3089fc2984bd82b2e0;p=bpdyndnsd Removed unneded helper function. --- diff --git a/scripts/bpdyndnsd b/scripts/bpdyndnsd index db91ee8..c1d6712 100755 --- a/scripts/bpdyndnsd +++ b/scripts/bpdyndnsd @@ -27,18 +27,6 @@ pidfile=/var/run/bpdyndnsd.pid test -x ${prog} || exit 0 test -e /etc/bpdyndnsd/bpdyndnsd.conf || exit 0 -## -## tool functions: -## - -is_running() { - [ -f ${path_pidfile} ] || return 1 - pid_from_file=`head -n1 ${path_pidfile}` - [ -L /proc/${pid_from_file}/exe ] || return 1 - [ "`readlink /proc/${pid_from_file}/exe`" = "${path_prg}" ] -} -# eo is_running - ## ## the functions: