Commit 00a45903 authored by Mike Hibler's avatar Mike Hibler
Browse files

Fix some bitrot in the separate FS node path.

parent 98603c5b
......@@ -484,8 +484,16 @@ Phase "samba", "Setting up Samba", sub {
};
if ($ELABINELAB) {
Phase "starting", "Starting Samba", sub {
my $sscript;
if (-x "$RCDIR/samba.sh") {
$sscript = "samba.sh";
} elsif (-x "$RCDIR/samba") {
$sscript = "samba";
} else {
PhaseFail("No samba startup script!?");
}
DoneIfExists("$VARRUN/smbd.pid");
ExecQuietFatal("$RCDIR/samba.sh start");
ExecQuietFatal("$RCDIR/$sscript start");
};
}
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment