Login  Register

Re: Upgrade to 1.51SP1

Posted by hans2 on Feb 24, 2016; 4:16pm
URL: https://itus.accessinnov.com/Upgrade-to-1-51SP1-tp10p159.html

Roadrunnere42 wrote
Hans

is this line correct in the script

update(){
        echo "Updating ...."
        [[ -f ${MOUNT}/updates/ItusrestoreImage ]] && cp -v /overlay/updates/ItusrestoreImage /overlay/ItusrestoreImage && cp -v /overlay/updates/ItusrestoreImage /overlay/ItusrouterImage

as it's coping  to the same location twice.

roadrunnere42
That is part of the original code, I've not changed it. What should it be?

I am using the < RAW > ... </ RAW > tag for codes:

update(){
        echo "Updating ...."
        [[ -f ${MOUNT}/updates/ItusrestoreImage ]] && cp -v /overlay/updates/ItusrestoreImage /overlay/ItusrestoreImage && cp -v /overlay/updates/ItusrestoreImage /overlay/ItusrouterImage
No more: Shield Pro v1, Chaos Calmer, FW 1.51 SP1