summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-07-10 04:52:27 +0000
committerjkh <jkh@FreeBSD.org>1996-07-10 04:52:27 +0000
commit30ff1331808a80709097d3cae5fbd1ffe34d5604 (patch)
tree8841efdda250fb1112e6c20448d36a8ccd86dcfb /release
parent89712746cb5f94f8f9f90995ab961c42be52b66c (diff)
downloadFreeBSD-src-30ff1331808a80709097d3cae5fbd1ffe34d5604.zip
FreeBSD-src-30ff1331808a80709097d3cae5fbd1ffe34d5604.tar.gz
Put samba configuration in the right place.
Diffstat (limited to 'release')
-rw-r--r--release/sysinstall/samba.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/release/sysinstall/samba.c b/release/sysinstall/samba.c
index a254678..0d8a3d0 100644
--- a/release/sysinstall/samba.c
+++ b/release/sysinstall/samba.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: samba.c,v 1.4 1996/06/15 16:09:21 jkh Exp $
+ * $Id: samba.c,v 1.5 1996/07/02 01:03:49 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard & Coranth Gryphon. All rights reserved.
@@ -52,7 +52,8 @@ static DMenu MenuSamba = {
};
/* These probably shouldn't be hard-coded, but making them options might prove to be even more confusing! */
-#define SMB_CONF "./smb.conf"
+#define SMB_CONF_DIR "/usr/local/samba/lib"
+#define SMB_CONF "/usr/local/samba/lib/smb.conf"
int
configSamba(dialogMenuItem *self)
@@ -144,6 +145,7 @@ configSamba(dialogMenuItem *self)
} /* end for loop */
} /* end if (SAMBA_export) */
fclose(fptr);
+ Mkdir(SMB_CONF_DIR);
vsystem("mv -f /tmp/smb.conf %s", SMB_CONF);
}
else
OpenPOWER on IntegriCloud