1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/net/nagios/files/patch-ai
Ying-Chieh Liao bd994ab71e upgrade netsaint -> 0.0.7b4, netsaint-plugins -> 1.2.9.4
change maintainer email address

PR:		27012, 27013
Submitted by:	MAINTAINER
2001-05-17 06:02:17 +00:00

28 lines
812 B
Plaintext

--- daemon-init.in.orig Sat Mar 24 19:58:26 2001
+++ daemon-init.in Tue May 1 19:38:52 2001
@@ -68,12 +68,9 @@
# Source function library
-# Solaris doesn't have an rc.d directory, so do a test first
-#if [ -f /etc/rc.d/init.d/functions ]; then
-#. /etc/rc.d/init.d/functions
-#elif [ -f /etc/init.d/functions ]; then
-#. /etc/init.d/functions
-#fi
+if [ -f @sysconfdir@/functions ]; then
+. @sysconfdir@/functions
+fi
prefix=@prefix@
exec_prefix=@exec_prefix@
@@ -102,7 +99,7 @@
start)
echo "Starting network monitor: netsaint"
- su $Netsaint -c "touch $NetsaintVar/netsaint.log $NetsaintSav"
+ su -m $Netsaint -c "touch $NetsaintVar/netsaint.log $NetsaintSav"
rm -f $NetsaintCmd
$NetsaintBin -d $NetsaintCfg
if [ -d $NetsaintLckDir ]; then touch $NetsaintLckDir/$NetsaintLckFile; fi