Current Path : /scripts/ |
|
Current File : //scripts/gensysinfo |
#!/usr/local/cpanel/3rdparty/bin/perl
# cpanel - scripts/gensysinfo Copyright 2020 cPanel, L.L.C.
# All rights reserved.
# copyright@cpanel.net http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited
#
# This program is responsible for keeping /var/cpanel/sysinfo.config up to date.
# See config_file_header for ways to override values in the file.
use strict;
use warnings;
use Cpanel::GenSysInfo ();
use Cpanel::Usage ();
Cpanel::Usage::wrap_options( \@ARGV, \&usage, {} );
Cpanel::GenSysInfo::rebuild();
sub usage {
print "\nUsage: $0\n";
print "\n Rebuilds $Cpanel::GenSysInfo::sys_info_file, skipping locked values.\n\n";
return;
}
Copyright 2K16 - 2K18 Indonesian Hacker Rulez