Cute tool NiLuJe!
I was looking a way to execute a custom .sh script from Nickel, and I see this can be done with kfmon and a png file. Nice ;-)
So I can download a zip file with patches from Kobo browser, and later press on a .png to process it in a bash script.
But going further, could it be possible to use kfmon to watch for a non-png file ? In this case I want to monitorize if a zip file exists, to process it. For example, something like this:
[watch]
filename = /mnt/onboard/download.php ; Zip file downloaded from pip.cat/khd/kobo
action = /mnt/onboard/.adds/autopatch/process.sh
skip_db_checks = 1
process.sh should unzip file, delete, generate a KoboRoot.tgz in .kobo and restart nickel to process KoboRoot. As if we copied it via usb and disconnect.
Are there other ways to execute a script by request, not at boot time ?
Maybe we can change an unused game to execute a .sh instead of his code ?
|