From 1b195a8fc1db6436fc22ba3089fc2984bd82b2e0 Mon Sep 17 00:00:00 2001 From: Bjoern Sikora Date: Wed, 19 May 2010 17:27:15 +0200 Subject: [PATCH] Removed unneded helper function. --- scripts/bpdyndnsd | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-) 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: -- 1.7.1