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 :
But, my script don't run after plugin installation.
Someone is able to help me please ?
Thanks.
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
Someone is able to help me please ?
Thanks.