Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
8617688a
Commit
8617688a
authored
Feb 18, 2005
by
Leigh B. Stoller
Browse files
Clear syslog to @users from /etc/syslog.conf on both boss/ops.
parent
4824109c
Changes
1
Show whitespace changes
Inline
Side-by-side
tmcd/common/config/rc.mkelab
View file @
8617688a
...
...
@@ -398,6 +398,13 @@ sub SetupOpsNode()
print
RC
"
hostname=
\"
"
.
$emulabconfig
{"
OPSNODE
"}
.
"
.
"
.
$domain
.
"
\"\n
";
close
(
RC
);
#
# Remove some cruft from /etc/syslog.conf
#
mysystem
("
cat /etc/syslog.conf | grep -v '
\@
users' > /tmp/syslog.conf
");
mysystem
("
cp -pf /etc/syslog.conf /etc/syslog.conf.old ;
"
.
"
cp /tmp/syslog.conf /etc/syslog.conf
");
#
# Create a defs file. Note that this will move to boss at some point.
#
...
...
@@ -662,6 +669,13 @@ sub SetupBossNode()
print
RC
"
check_quotas=
\"
NO
\"\n
";
close
(
RC
);
#
# Remove some cruft from /etc/syslog.conf
#
mysystem
("
cat /etc/syslog.conf | grep -v '
\@
users' > /tmp/syslog.conf
");
mysystem
("
cp -pf /etc/syslog.conf /etc/syslog.conf.old ;
"
.
"
cp /tmp/syslog.conf /etc/syslog.conf
");
#
# Create a defs file. Note that this will move to boss at some point.
#
...
...
Write
Preview
Supports
Markdown
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