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
fe3fde01
Commit
fe3fde01
authored
Apr 09, 2003
by
Robert Ricci
Browse files
Add quotamail to the crontab on ops.
parent
722426a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/ops-install.in
View file @
fe3fde01
...
...
@@ -65,6 +65,7 @@ my $SYSLOG_CONF = "/etc/syslog.conf";
my
$NEWSYSLOG_CONF
=
"
/etc/newsyslog.conf
";
my
$SUDOERS
=
"
/usr/local/etc/sudoers
";
my
$SSHD_CONFIG
=
"
/etc/ssh/sshd_config
";
my
$CRONTAB
=
"
/etc/crontab
";
#
# Some directories we care about
...
...
@@ -308,6 +309,18 @@ Phase "syslog", "Setting up syslog", sub {
};
};
Phase
"
cron
",
"
Adding cron jobs
",
sub
{
Phase
"
crontab
",
"
Editing
$CRONTAB
",
sub
{
DoneIfEdited
(
$CRONTAB
);
AppendToFileFatal
(
$CRONTAB
,
"
0
\t
6
\t
*
\t
*
\t
*
\t
root
\t
$PREFIX
/sbin/quotamain
");
};
Phase
"
cronhup
",
"
HUPing cron
",
sub
{
if
(
PhaseWasSkipped
("
crontab
"))
{
PhaseSkip
("
No new crontab
");
}
HUPDaemon
("
cron
");
};
};
Phase
"
sudoers
",
"
Editing
$SUDOERS
",
sub
{
DoneIfEdited
(
$SUDOERS
);
AppendToFileFatal
(
$SUDOERS
,"
%wheel ALL=(ALL) NOPASSWD: ALL
");
...
...
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