Commit 99fdddbc authored by Franco Fichtner's avatar Franco Fichtner

xmlrpc: use new-style version files

parent bd9e111a
...@@ -278,8 +278,8 @@ function host_firmware_version() ...@@ -278,8 +278,8 @@ function host_firmware_version()
return array( return array(
'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/os-update.kernel')), 'kernel' => array('version' => file_get_contents('/usr/local/opnsense/version/opnsense-update.kernel')),
'base' => array('version' => file_get_contents('/usr/local/opnsense/version/os-update.base')), 'base' => array('version' => file_get_contents('/usr/local/opnsense/version/opnsense-update.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