2000-05-23 01:02:39 +00:00
|
|
|
--- cfs.c.orig Fri Dec 19 01:30:50 1997
|
|
|
|
+++ cfs.c Mon May 22 18:30:01 2000
|
|
|
|
@@ -43,7 +43,7 @@
|
1997-07-30 22:10:23 +00:00
|
|
|
|
|
|
|
struct in_addr validhost;
|
|
|
|
|
|
|
|
-#if defined(SOLARIS2X) || defined(__NetBSD__)
|
1997-09-12 00:11:00 +00:00
|
|
|
+#if defined(SOLARIS2X) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
|
1997-07-30 22:10:23 +00:00
|
|
|
void nfs_program_2();
|
|
|
|
void adm_program_2();
|
|
|
|
#include <string.h>
|
2000-05-23 01:02:39 +00:00
|
|
|
@@ -236,7 +236,7 @@
|
1997-10-14 04:37:04 +00:00
|
|
|
setuid(0);
|
|
|
|
umask(0);
|
|
|
|
|
2000-05-23 01:02:39 +00:00
|
|
|
-#if defined(__NetBSD__) || defined(__bsdi__)
|
|
|
|
+#if defined(__NetBSD__) || defined(__bsdi__) || defined(__FreeBSD__) || defined(__OpenBSD__)
|
1997-10-14 04:37:04 +00:00
|
|
|
#ifndef DEBUG
|
|
|
|
/* detach from terminal */
|
|
|
|
daemon(0,0);
|