Login  Register

Re: Update script (fw_upgrade)

Posted by Wisiwyg on Apr 14, 2016; 5:26pm
URL: https://itus.accessinnov.com/Update-script-fw-upgrade-tp43p692.html

Just made a quick update and ran the script.

Looks like an extra space in line 35 made it halt for me, this line...
if [[ "$(ls -A /mnt/ramdisk)"  ]] ; then rm -r /mnt/ramdisk/*.rules ; fi
                                    ^
                                  here
 
Removed the extra space before the ]] to read:
if [[ "$(ls -A /mnt/ramdisk)" ]] ; then rm -r /mnt/ramdisk/*.rules ; fi

and it completed successfully.

Thank you for continuing to make this better!!
Shield Pro v1, Chaos Calmer, FW 1.51 SP1, v8.3.2, Bridge Mode