BPORT=`getent services ${NAME} | awk '{ gsub("/tcp","",$2); print $2; }'`
fi
+if [ -f /etc/default/$NAME ]; then
+ . /etc/default/$NAME
+fi
+
PIDFILE=@piddir@/${NAME}.${BPORT}.pid
if [ "x${BUSER}" != "x" ]; then
BPORT=`getent services ${NAME} | awk '{ gsub("/tcp","",$2); print $2; }'`
fi
+if [ -f /etc/default/$NAME ]; then
+ . /etc/default/$NAME
+fi
+
PIDFILE=@piddir@/${NAME}.${BPORT}.pid
if [ "x${BUSER}" != "x" ]; then
BPORT=`getent services ${NAME} | awk '{ gsub("/tcp","",$2); print $2; }'`
fi
+if [ -f /etc/default/$NAME ]; then
+ . /etc/default/$NAME
+fi
+
PIDFILE=@piddir@/${NAME}.${BPORT}.pid
if [ "x${BUSER}" != "x" ]; then
BPORT=`getent services ${NAME} | awk '{ gsub("/tcp","",$2); print $2; }'`
fi
+if [ -f /etc/default/$NAME ]; then
+ . /etc/default/$NAME
+fi
+
mkdir -p @piddir@
PIDFILE=@piddir@/${NAME}.${BPORT}.pid
BPORT=`getent services ${NAME} | awk '{ gsub("/tcp","",$2); print $2; }'`
fi
+if [ -f /etc/default/$NAME ]; then
+ . /etc/default/$NAME
+fi
+
mkdir -p @piddir@
PIDFILE=@piddir@/${NAME}.${BPORT}.pid
BPORT=`getent services ${NAME} | awk '{ gsub("/tcp","",$2); print $2; }'`
fi
+if [ -f /etc/default/$NAME ]; then
+ . /etc/default/$NAME
+fi
+
mkdir -p @piddir@
PIDFILE=@piddir@/${NAME}.${BPORT}.pid