Commit a7e8936c authored by Franco Fichtner's avatar Franco Fichtner

xmlrpc: switch base/kernel version file

(cherry picked from commit 802157a3)
parent 1467686e
...@@ -108,9 +108,9 @@ function firmware_version_xmlrpc() ...@@ -108,9 +108,9 @@ function firmware_version_xmlrpc()
global $config; global $config;
return array( return array(
'kernel' => array('version' => file_get_contents('/usr/local/opnsense/version/opnsense-update.kernel')),
'base' => array('version' => file_get_contents('/usr/local/opnsense/version/opnsense-update.base')),
'firmware' => array('version' => file_get_contents('/usr/local/opnsense/version/opnsense')), 'firmware' => array('version' => file_get_contents('/usr/local/opnsense/version/opnsense')),
'kernel' => array('version' => file_get_contents('/usr/local/opnsense/version/kernel')),
'base' => array('version' => file_get_contents('/usr/local/opnsense/version/base')),
'config_version' => $config['version'], 'config_version' => $config['version'],
); );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment