403Webshell
Server IP : 37.9.174.138  /  Your IP : 216.73.216.117
Web Server : Apache
System : Linux vps6.backend.sk 6.12.100+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.100-1 (2026-07-30) x86_64
User : ftpuser ( 1001)
PHP Version : 8.4.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/webmin/grub2/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/webmin/grub2/install_check.pl
# install_check.pl

use strict;
use warnings;
do 'grub2-lib.pl';

# is_installed(mode)
# For mode 1, returns 2 if GRUB 2 is installed and configured for Webmin,
# 1 if installed but not configured, or 0 otherwise.
# For mode 0, returns 1 if installed, 0 if not.
sub is_installed
{
my ($mode) = @_;
return 0 if (!&grub2_any_installed());
return $mode ? (&grub2_configured() ? 2 : 1) : 1;
}

1;

Youez - 2016 - github.com/yon3zu
LinuXploit