1997-07-30 22:10:23 +00:00
|
|
|
--- cfs.c.orig Wed Mar 20 09:57:56 1996
|
1997-10-14 04:37:04 +00:00
|
|
|
+++ cfs.c Mon Oct 13 21:30:22 1997
|
1997-07-30 22:10:23 +00:00
|
|
|
@@ -42,7 +42,7 @@
|
|
|
|
|
|
|
|
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>
|
1997-10-14 04:37:04 +00:00
|
|
|
@@ -233,7 +233,7 @@
|
|
|
|
setuid(0);
|
|
|
|
umask(0);
|
|
|
|
|
|
|
|
-#if defined(__NetBSD__)
|
|
|
|
+#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
|
|
|
|
#ifndef DEBUG
|
|
|
|
/* detach from terminal */
|
|
|
|
daemon(0,0);
|