registerFunction("diskclean"); function diskclean() { $sRet = system("/usr/bin/sudo /home/embedded/library/DiskSpaceClean.sh > /tmp/DiskSpaceClean.log 2>&1", $iRet); error_log("Call to DiskSpaceClean.sh returned a \"$iRet\" and the output was \"$sRet\""); $diskSpace = disk_free_space("/home/embedded/library/upload"); error_log("NEW - Free Diskspace for Firmware upload is: ". $diskSpace ); $objResponse = new xajaxResponse(); return $objResponse; } // This call must come AFTER ALL xajax functions have been defined. // This is what connects the php functions with the JavaScript functions. $xajax->processRequest(); $descriptions = get_firmware_versions($user); $product_info = get_product_info($user); //$netConfig = get_network_configuration($user); $netConfig = get_network_configuration_ipv4($user); $diskSpace = disk_free_space("/home/embedded/library/upload"); error_log("Free Diskspace for Firmware upload is: ". $diskSpace ); // if this is a post, then it is the return from an operation // retrieve the return information if ($_SERVER['REQUEST_METHOD'] == "POST") { $errorCode = $_REQUEST["errorCode"]; $displayMessage = $_REQUEST["Message"]; $returnMessage = $_REQUEST["returnMessage"]; } $sessionTimeout = get_session_timeout($user); //$sRet = system("/usr/bin/sudo /home/embedded/library/DiskSpaceClean.sh > /dev/null 2>&1", $iRet); //error_log("Call to DiskSpaceClean.sh returned a \"$iRet\" and the output was \"$sRet\""); //$diskSpace = disk_free_space("/home/embedded/library/upload"); //error_log("NEW - Free Diskspace for Firmware upload is: ". $diskSpace ); ?> printJavascript(); ?> Library Firmware Update
0) { ?>
Error Message Image Error Message

Error code:
Informational Message Image

Operation Complete

Close Message

View/Update Library Firmware Level

Name hostname;?>
IBM Serial Number alternateId;?>
component; ?> Version version;?>
BSP Level bsp_level;?>
Last Update lastupdate;?>

role == "Admin") || ($user->role == "Service")) { ?>
Send this library firmware file:
Update Library Firmware Level: License Agreement
Some library firmware components are licensed from Quantum and other third-party providers. Please read the License Agreement before continuing with Library Firmware Update.


I accept the agreement (must be selected to update library firmware).
I do not accept the agreement.
role == "Admin") || ($user->role == "Service")) { ?>