blob: 358e53ab8c2526fd6a8e26d52492d03e6d21b293 [file] [log] [blame]
Patrick Williams8e7b46e2023-05-01 14:19:06 -05001Remove "start on boot" option from webmin configuration, as
2end-users should not need to configure this from the web interface
3
4Upstream-Status: Inappropriate [OE-specific]
5
6Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Patrick Williamsb48b7b42016-08-17 15:04:38 -05007--- webmin-1.570.orig/webmin/index.cgi
8+++ webmin-1.570/webmin/index.cgi
9@@ -79,20 +79,6 @@ print &ui_buttons_start();
10 my %miniserv;
11 &get_miniserv_config(\%miniserv);
12
13-if (&foreign_check("init")) {
14- &foreign_require("init");
15- my $starting = &init::action_status("webmin");
16- print &ui_buttons_row("bootup.cgi",
17- $text{'index_boot'},
18- $text{'index_bootmsg'}.
19- ($miniserv{'inetd'} ? "<b>$text{'index_inetd'}</b>" :
20- !$ENV{'MINISERV_CONFIG'} ? "<b>$text{'index_apache'}</b>" : ""),
21- &ui_hidden("starting", $starting),
22- &ui_radio("boot", $starting == 2 ? 1 : 0,
23- [ [ 1, $text{'yes'} ],
24- [ 0, $text{'no'} ] ]));
25- }
26-
27 # Restart Webmin
28 if (!$miniserv{'inetd'} && $ENV{'MINISERV_CONFIG'}) {
29 print &ui_buttons_row("restart.cgi",