Quantcast
Channel: MobileRead Forums - Kobo Developer's Corner
Viewing all articles
Browse latest Browse all 1563

Run automaticaly a script just after plugin installation

$
0
0
Hi all,

I have a question I asked on another thread, but the object is on a different subject.
So, I try to have an answer with a new thread.

I make a plugin for wich the only thing I want is to run a script shell just after the installation.
This script self-destroy at the last instruction.

I looked at the nightmode plugin.
I see a file /root/autorun.sh
I made one for my plugin :
If my script is /mnt/onboard/.kobo/MyShell.sh,
/root/autorun.sh is :
Code:

/mnt/onboard/.kobo/MyShell.sh
rm /root/autorun.sh
sync
reboot

But, my script don't run after plugin installation.

Someone is able to help me please ?
Thanks.

Viewing all articles
Browse latest Browse all 1563


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>