Login  Register

Re: Update script (fw_upgrade)

Posted by Roadrunnere42 on Feb 12, 2016; 2:52pm
URL: https://itus.accessinnov.com/Update-script-fw-upgrade-tp43p48.html

Hi Hans
Have made a few change to the fw_upgrade script hope you don't mind, have add more comments but the main thing is now there is a ramdisk created in memory  just before downloading the rules, instead of downloading straight to disk, then sorted and put into the correct format (nothing changed there), them copied to the the original place, this will save a little wear on the eMMC memory. The ramdisk is then umount so free the memory back up.

Not sure how to do at present as i'm not a linux guy, but i want to compare the file thats downloaded into the ramdisk with the rules on the disk and only add the new rules, also the rules that have been removed from the download rules also.

roadrunnere42