mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
865ed821c5
Submitted by: Ollivier Robert <roberto@FreeBSD.org>
21 lines
580 B
Plaintext
21 lines
580 B
Plaintext
--- cfs.c.orig Fri Dec 19 01:30:50 1997
|
|
+++ cfs.c Mon May 22 18:30:01 2000
|
|
@@ -43,7 +43,7 @@
|
|
|
|
struct in_addr validhost;
|
|
|
|
-#if defined(SOLARIS2X) || defined(__NetBSD__)
|
|
+#if defined(SOLARIS2X) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
|
|
void nfs_program_2();
|
|
void adm_program_2();
|
|
#include <string.h>
|
|
@@ -236,7 +236,7 @@
|
|
setuid(0);
|
|
umask(0);
|
|
|
|
-#if defined(__NetBSD__) || defined(__bsdi__)
|
|
+#if defined(__NetBSD__) || defined(__bsdi__) || defined(__FreeBSD__) || defined(__OpenBSD__)
|
|
#ifndef DEBUG
|
|
/* detach from terminal */
|
|
daemon(0,0);
|