mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 08:22:44 +00:00
Put samba configuration in the right place.
This commit is contained in:
parent
9f5c1d518e
commit
04577962b1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17057
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user