From 7a600dcabb6923ee79d36a4eaab2fc6867bdb807 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 5 May 2013 01:06:44 -0700 Subject: Sun May 5 01:06:40 PDT 2013 --- extra/ypbind-mt/ypbind | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100755 extra/ypbind-mt/ypbind (limited to 'extra/ypbind-mt/ypbind') diff --git a/extra/ypbind-mt/ypbind b/extra/ypbind-mt/ypbind deleted file mode 100755 index 6a5ef11e3..000000000 --- a/extra/ypbind-mt/ypbind +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -. /etc/conf.d/ypbind -. /etc/conf.d/nisdomainname - -name=ypbind -PID=$(pidof -o %PPID /usr/sbin/ypbind) - -case "$1" in -start) - stat_busy "Starting $name daemon" - [[ -n $NISDOMAINNAME ]] && /usr/bin/domainname "$NISDOMAINNAME" &>/dev/null - [[ -z "$PID" ]] && /usr/sbin/ypbind $YPBIND_ARGS &>/dev/null \ - && { add_daemon $name; stat_done; } \ - || { stat_fail; exit 1; } - ;; -stop) - stat_busy "Stopping $name daemon" - [[ -n "$PID" ]] && kill $PID &>/dev/null \ - && { rm_daemon $name; stat_done; } \ - || { stat_fail; exit 1; } - ;; -restart) - $0 stop - sleep 1 - $0 start - ;; -*) - echo "usage: $0 {start|stop|restart}" - exit 1 - ;; -esac -- cgit v1.2.3-54-g00ecf