WIP: upgrade button

This commit is contained in:
olevole
2023-04-12 18:49:37 +03:00
parent 9d509b9150
commit 6339c00deb
2 changed files with 4 additions and 4 deletions

View File

@@ -2171,7 +2171,7 @@ class ClonOS {
function ccmd_settingsGetList()
{
$res=CBSD::run(
'cix_upgrade mode=listjson',
'/root/bin/web_upgrade listjson',
array()
);
if($res['error']){
@@ -2186,7 +2186,7 @@ class ClonOS {
function ccmd_settingsUpdateCheck()
{
$res=CBSD::run(
'cix_upgrade mode=check_upgrade', //listjson
'/root/bin/web_upgrade check_upgrade', //listjson
array()
);
if($res['error']){
@@ -2202,7 +2202,7 @@ class ClonOS {
function ccmd_settingsUpdateComponents()
{
$res=CBSD::run(
'cix_upgrade mode=upgrade',
'/root/bin/web_upgrade upgrade',
array()
);
if($res['error']){

View File

@@ -4,7 +4,7 @@ require_once("../php/cbsd.php");
$html = '';
$hres = $this->getTableChunk('components','tbody');
$res=CBSD::run('cix_upgrade mode=listjson', array());
$res=CBSD::run('/root/bin/web_upgrade listjson', array());
$latest=[];
if($res['retval']==0)
{