Removed unneded helper function.
authorBjoern Sikora <bjoern.sikora@intra2net.com>
Wed, 19 May 2010 15:27:15 +0000 (17:27 +0200)
committerBjoern Sikora <bjoern.sikora@intra2net.com>
Wed, 19 May 2010 15:27:15 +0000 (17:27 +0200)
scripts/bpdyndnsd

index db91ee8..c1d6712 100755 (executable)
@@ -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: