Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-stable
Commits
1bcde9c6
Commit
1bcde9c6
authored
Dec 21, 2012
by
Mike Hibler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug Fix: fix samba setup in opsfs path (fixed it before in fs path)
parent
d069ca35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
clientside/tmcc/common/config/rc.mkelab
clientside/tmcc/common/config/rc.mkelab
+14
-2
No files found.
clientside/tmcc/common/config/rc.mkelab
View file @
1bcde9c6
...
...
@@ -1591,8 +1591,20 @@ sub SetupOpsNode($)
print
RC
"
nfs_server_enable=
\"
YES
\"\n
";
print
RC
"
nfs_server_flags=
\"
-u -t -n 8
\"\n
";
print
RC
"
nfs_client_enable=
\"
YES
\"\n
";
print
RC
"
smbd_enable=
\"
YES
\"\n
"
if
(
$emulabconfig
{"
CONFIG_WINDOWS
"});
if
(
$isfs
&&
$emulabconfig
{"
CONFIG_WINDOWS
"})
{
#
# As of 10/2012, the startup for samba changed.
# XXX not directly related to the FreeBSD version, but it is
# the best we can do--the port version was not bumped when this
# change was made.
#
if
(
$FBSD_VERSION
>=
8.3
)
{
print
RC
"
samba_enable=
\"
YES
\"\n
";
print
RC
"
nmbd_enable=
\"
NO
\"\n
";
}
else
{
print
RC
"
smbd_enable=
\"
YES
\"\n
";
}
}
print
RC
"
mountd_flags=
\"
-r -p 900
\"\n
";
print
RC
"
syslogd_flags=
\"
-a
$control_network
\"\n
";
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment