1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/net/nagios/files/patch-af
Will Andrews 24138afdff Add NetSaint 0.0.5-2, an extremely powerful network monitoring system.
Patches submitted by:	Jim Sloan <odinn@atlantabiker.net>, to whom I am
			extremely grateful!  Thanks!
2000-07-12 18:43:32 +00:00

25 lines
614 B
Plaintext

--- daemon-init.in Fri Apr 7 11:11:34 2000
+++ daemon-init.in.new Mon Jun 5 16:11:44 2000
@@ -27,10 +27,11 @@
# 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
+if [ -f /usr/local/etc/netsaint/functions ]; then
+. /usr/local/etc/netsaint/functions
+else
+ echo "/usr/local/etc/netsaint/functions missing"
+ exit 1
fi
prefix=@prefix@
@@ -85,4 +86,4 @@
exit 1
esac
-# End of this script
+# End of this script