Disallow mass operations on init.d actions when upstart is in use

This commit is contained in:
Jamie Cameron
2012-07-30 17:35:00 -07:00
parent 385b40900d
commit dc887337da

View File

@@ -316,7 +316,8 @@ elsif ($init_mode eq "upstart" && $access{'bootup'}) {
$l = "edit_upstart.cgi?name=".&urlize($u->{'name'});
}
print &ui_columns_row([
&ui_checkbox("d", $u->{'name'}, undef),
&ui_checkbox("d", $u->{'name'}, undef, 0, undef,
$u->{'legacy'}),
"<a href='$l'>$u->{'name'}</a>",
$u->{'desc'},
$u->{'boot'} eq 'start' ? $text{'yes'} :