Posts by jagg

    yes, that's it - I can put my script in their and can execute it with the RCU :thumbup:


    The only 'problem' is everything I put in this folder (/usr/script/) is gone after a flash, isn't it?

    EDIT: I can add my script file(s) from /usr/script/ to the "to be saved files" in software management > advanced options

    But the 'automatic processing' directly while flashing is still not possible - I have to execute the script with the RCU (or terminal) and do a another restart of the receiver.


    I know it sounds petty (takes ~5 minutes and one restart more) but if that also could be automate (like it's done with the myrestore.sh approach - see oATV git) - it would be great.


    See it as a featrue request from a happy new PurE2 user which comes from a ~5 year openATV usage who got used to the myrestore.sh script approach ;)

    gorski I'm not 'a newbie' ;) - so your hint with backup/restore is well known but this doesn't cover my question, do it?


    You mean this line correct?

    Quote

    2) During the Wizard/first run and setup of PurE2, normally one would be offered to restore the settings. Usually it will be done in 2 stages - settings first, then Plugins/addons later. Just say "Yes"!

    That's ok in order to have my settings (and used plugins) back after a flash - but what I meant by this "myrestore.sh" file is - in this file I could write all my other needed things/commands (settings aliases, adding cronjobs, deleting not needed language files are only two simple examples).

    And with openATV this file (/media/hdd/config/myrestore.sh) was found and executed in the flash process automatically.


    My question was if such a 'feature' is present in PurE2 - if not this would be nice to have imho...


    Sure it's not a big problem to flash a new image and restore the settings/plugins like mentioned above and after everything is flashed/restored and enigma2 is up/running I open a console and execute my bash script and do another restart.

    Hi,


    I'm totally new to PurE2 and really like it so far (after x years with openATV).


    With openATV I was able to add a file named myrestore.sh in /media/hdd/config/ - an everything in there was executed directly after/while flashing a new update (flashing online).

    This way I flashed an update of the image 'naked' and in that myrestore.sh file I added my opkg install lines for my plugins, added some aliases, deleted unneeded languages, ....


    Is such a "execute script file after flashing" way also possible with PurE2?


    Thanks