From 563f5b510631a8c6454e1dfa323d6477f4e7ecbc Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 24 May 2008 05:50:40 +0000 Subject: Add manifests option (Default Auto Update URLS) --- usr/local/www/system_firmware_settings.php | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'usr/local/www/system_firmware_settings.php') diff --git a/usr/local/www/system_firmware_settings.php b/usr/local/www/system_firmware_settings.php index 9f7d32f..916a3c2 100755 --- a/usr/local/www/system_firmware_settings.php +++ b/usr/local/www/system_firmware_settings.php @@ -49,8 +49,13 @@ $curcfg = $config['system']['firmware']; $pgtitle = array("System","Firmware","Settings"); include("head.inc"); -?> +exec("fetch -q -o /tmp/manifest \"{$g['update_manifest']}\""); +if(file_exists("/tmp/manifest")) { + $preset_urls_split = split("\n", file_get_contents("/tmp/manifest")); +} +?> +