fogproject  1.5.9
About: FOG is a Linux-based network computer cloning solution for Windows, Mac OSX and various Linux distributions that ties together a few open-source tools with a PHP-based web interface. FOG doesn’t use any boot disks, or CDs; everything is done via TFTP and PXE.
  Fossies Dox: fogproject-1.5.9.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

kernelvers.php File Reference

Go to the source code of this file.

Namespaces

 FOGProject
 

Variables

 $url = filter_input(INPUT_POST, 'url')
 
if($url) $kernelvers
 

Variable Documentation

◆ $kernelvers

if ( $url) $kernelvers
Initial value:
= function ($kernel) {
$currpath = sprintf(
'%s%sservice%sipxe%s%s',
BASEPATH,
DS,
DS,
DS,
$kernel
);
$basepath = escapeshellarg($currpath);
$findstr = sprintf(
'strings %s | grep -A1 "%s:" | tail -1 | awk \'{print $1}\'',
$basepath,
'Undefined video mode number'
);
return shell_exec($findstr);
}

Definition at line 37 of file kernelvers.php.

◆ $url