Skip to content
GitLab
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
463452d5
Commit
463452d5
authored
May 04, 2005
by
Mike Hibler
Browse files
Make sure we disable the standard BSD tftpd (in inetd.conf) or else
hpa-tftpd will not start.
parent
ed2c11d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/boss-install.in
View file @
463452d5
...
...
@@ -76,6 +76,7 @@ my $FSTAB = "/etc/fstab";
my
$RCCONF
=
"
/etc/rc.conf
";
my
$SYSLOG_CONF
=
"
/etc/syslog.conf
";
my
$NEWSYSLOG_CONF
=
"
/etc/newsyslog.conf
";
my
$INETD_CONF
=
"
/etc/inetd.conf
";
my
$ROOT_PRIVKEY
=
"
/root/.ssh/identity
";
my
$ROOT_PUBKEY
=
"
$ROOT_PRIVKEY
.pub
";
...
...
@@ -304,6 +305,12 @@ Phase "dirs", "Setting directory permissions", sub {
};
Phase
"
tftp
",
"
Setting up directories for tftp
",
sub
{
Phase
"
tftpoff
",
"
Disabling BSD tftpd
",
sub
{
PhaseSkip
("
no inetd.conf!?
")
unless
(
-
e
$INETD_CONF
);
PhaseSkip
("
already disabled
")
unless
`
grep '^tftp'
$INETD_CONF
`;
ExecQuietFatal
("
sed -i .orig -e '/^tftp/s/^/#/'
$INETD_CONF
");
HUPDaemon
("
inetd
");
};
Phase
"
tftpboot
",
"
Creating
$TFTP_DIR
",
sub
{
DoneIfExists
(
$TFTP_DIR
);
mkdir
$TFTP_DIR
,
0775
or
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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