From 30ff1331808a80709097d3cae5fbd1ffe34d5604 Mon Sep 17 00:00:00 2001 From: jkh Date: Wed, 10 Jul 1996 04:52:27 +0000 Subject: Put samba configuration in the right place. --- release/sysinstall/samba.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'release/sysinstall/samba.c') 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 -- cgit v1.1