Просмотр исходного кода

Removed sample FreeBSD init script (now maintained by FreeBSD port)

Ethan Galstad 20 лет назад
Родитель
Сommit
07b4d7ce74
2 измененных файлов с 1 добавлено и 28 удалено
  1. 1 0
      Changelog
  2. 0 28
      init-script.freebsd.in

+ 1 - 0
Changelog

@@ -10,6 +10,7 @@ NRPE Changelog
 - Updated config.sub and config.guess
 - Fixed bug with config file lines with only whitespace
 - Fixed bug with missing getopt() command line option for -V
+- Removed sample FreeBSD init script (now maintained by FreeBSD port)
 
 
 2.1 - 01/19/2004

+ 0 - 28
init-script.freebsd.in

@@ -1,28 +0,0 @@
-#!/bin/sh
-# Start/stop the nrpe daemon.
-#
-# Contributed by Andrew Ryder 06-22-02
-# Slight mods by Ethan Galstad 07-09-02
-
-NrpeBin=@bindir@/nrpe
-NrpeCfg=@sysconfdir@/nrpe.cfg
-
-case "$1" in
-start)
-	$NrpeBin -c $NrpeCfg -d
-	echo -n ' nrpe'
-	;;
-stop)
-		killall -TERM nrpe
-		echo -n ' nrpe'
-	;;
-restart)
-		killall -HUP nrpe
-		echo 'nrpe restarted'
-	;;
-*)
-	echo "Usage: ${0##*/}: { start | stop | restart }" 2>&1
-	exit 65
-	;;
-esac
-