aboutsummaryrefslogtreecommitdiff
path: root/net/netsaint/files/patch-af
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-07-12 18:43:32 +0000
committerWill Andrews <will@FreeBSD.org>2000-07-12 18:43:32 +0000
commit24138afdffd13e51deacee92f648ce3f061035bd (patch)
treed4864831023d0c7fbfaee7df7db8854da0053999 /net/netsaint/files/patch-af
parent7a90df77ff4e5447a3b6245a6407c7c3645880fc (diff)
downloadports-24138afdffd13e51deacee92f648ce3f061035bd.tar.gz
ports-24138afdffd13e51deacee92f648ce3f061035bd.zip
Notes
Diffstat (limited to 'net/netsaint/files/patch-af')
-rw-r--r--net/netsaint/files/patch-af24
1 files changed, 24 insertions, 0 deletions
diff --git a/net/netsaint/files/patch-af b/net/netsaint/files/patch-af
new file mode 100644
index 000000000000..58d7998ff8d8
--- /dev/null
+++ b/net/netsaint/files/patch-af
@@ -0,0 +1,24 @@
+--- 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