aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/netsaint/files/patch-ai
blob: 6ad4c57daddd752795604a3e6712564ef21cdcd5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- daemon-init.in.orig	Sun Feb 18 22:33:21 2001
+++ daemon-init.in	Thu Mar  1 22:00:37 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 /usr/local/etc/netsaint/functions ]; then
+. /usr/local/etc/netsaint/functions
+fi
 
 prefix=@prefix@
 exec_prefix=@exec_prefix@
@@ -92,7 +89,7 @@
 
 # Check that netsaint exists.
 test -f $NetsaintBin || exit 0
-
+        
 # Check that netsaint.cfg exists.
 test -f $NetsaintCfg || exit 0