From 0a45318823500275cf1839030e1a2c31713751ea Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 27 Jun 2009 18:41:24 -0400 Subject: Add support for the NanoBSD platform --- etc/rc.initial.firmware_update | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'etc/rc.initial.firmware_update') diff --git a/etc/rc.initial.firmware_update b/etc/rc.initial.firmware_update index a1b4445..3853c2b 100755 --- a/etc/rc.initial.firmware_update +++ b/etc/rc.initial.firmware_update @@ -89,7 +89,9 @@ switch ($command) { exec("rm -f /root/*.md5"); } if(stristr($url,"bdiff")) - $type = "bdiff"; + $type = "bdiff"; + if(stristr($url,"bdiff")) + $type = "nanobsd"; if(file_exists("/root/firmware.tgz")) { do_upgrade("/root/firmware.tgz", $type); exit; @@ -108,6 +110,8 @@ switch ($command) { } if(stristr($fp,"bdiff")) $type = "bdiff"; + if(stristr($fp,"bdiff")) + $type = "nanobsd"; if(file_exists($path)) { touch($d_fwupenabled_path); do_upgrade($path, $type); -- cgit v1.1