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
d7f54235
Commit
d7f54235
authored
Jun 08, 2006
by
Leigh B. Stoller
Browse files
Remove another mysql-server startup file (newly renamed).
Make sure suidperl is not setuid on FreeBSD 6 or later.
parent
e89a5a5f
Changes
2
Hide whitespace changes
Inline
Side-by-side
install/boss-install.in
View file @
d7f54235
...
...
@@ -493,6 +493,12 @@ Phase "rc.d", "Setting up rc.d scripts", sub {
PhaseFail
("
Unable to remove
$RCDIR
/mysql-server.sh: $!
");
}
};
Phase
"
my-server2
",
"
Removing
$RCDIR
/mysql-server
",
sub
{
DoneIfDoesntExist
("
$RCDIR
/mysql-server
");
if
(
!
unlink
"
$RCDIR
/mysql-server
")
{
PhaseFail
("
Unable to remove
$RCDIR
/mysql-server: $!
");
}
};
Phase
"
snmpd
",
"
Removing snmpd startup script
",
sub
{
DoneIfDoesntExist
("
$RCDIR
/snmpd.sh
");
if
(
!
unlink
"
$RCDIR
/snmpd.sh
")
{
...
...
@@ -717,7 +723,8 @@ Phase "rc.conf", "Adding testbed content to $RCCONF", sub {
};
#
# New version perl does not appear to require this anymore.
# New version perl does not appear to require this anymore. In fact, it
# seems to break things if it is!
#
if
(
$FBSD_VERSION
==
4
)
{
Phase
"
suidperl
",
"
Setting the suid bit on
$SUIDPERL
",
sub
{
...
...
@@ -725,6 +732,12 @@ if ($FBSD_VERSION == 4) {
ExecQuietFatal
("
$CHMOD
u+s
$SUIDPERL
");
};
}
else
{
Phase
"
suidperl
",
"
UnSetting the suid bit on
$SUIDPERL
",
sub
{
PhaseSkip
("
Already done
")
if
(
!
-
u
$SUIDPERL
);
ExecQuietFatal
("
$CHMOD
u-s
$SUIDPERL
");
};
}
Phase
"
hosts
",
"
Adding boss/ops/fs IP addresses to
$HOSTS
",
sub
{
DoneIfEdited
(
$HOSTS
);
...
...
install/ops-install.in
View file @
d7f54235
...
...
@@ -894,6 +894,12 @@ Phase "rc.d", "Setting up rc.d scripts", sub {
PhaseFail
("
Unable to remove
$RCDIR
/mysql-server.sh: $!
");
}
};
Phase
"
my-server2
",
"
Removing
$RCDIR
/mysql-server
",
sub
{
DoneIfDoesntExist
("
$RCDIR
/mysql-server
");
if
(
!
unlink
"
$RCDIR
/mysql-server
")
{
PhaseFail
("
Unable to remove
$RCDIR
/mysql-server: $!
");
}
};
Phase
"
rc.testbed
",
"
Installing testbed RC scripts
",
sub
{
Phase
"
elvind.sh
",
"
Removing port version of elvind.sh
",
sub
{
DoneIfDoesntExist
("
$RCDIR
/elvind.sh
");
...
...
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