3 # Shutdown the system immediately..
5 require './init-lib.pl';
7 $access{'shutdown'} || &error($text{'shutdown_ecannot'});
8 &ui_print_header(undef, $text{'shutdown_title'}, "");
10 $ttcmd = "<tt>$config{'shutdown_command'}</tt>";
12 print "<font size=+1>",&text('shutdown_exec', $ttcmd),"</font><p>\n";
14 &webmin_log("shutdown");
17 print "<font size=+1>",&text('shutdown_rusure', $ttcmd),"</font>\n";
18 print "<center><form action=shutdown.cgi>\n";
19 print "<input type=submit value=\"$text{'shutdown_ok'}\" ",
21 print "</form></center>\n";
23 &ui_print_footer("", $text{'index_return'});