@Lucas Malor
I thought Mingyar tries to make an install mechanism with KoboRoot.tgz. In this case the device will be rebooted after running the "if [ -e /mnt/onboard/.kobo/KoboRoot.tgz ]; then ..." part, and during the reboot the modified rcS will be run. If the call to runonlyonce.sh is inserted at the proper place, there should not be a doubt that mnt/onboard is already mounted.
@Mingyar
I don't think there is a problem modifying the file of the calling script, this doesn't influence the process. So nohub might not be necessary. However, I repeat that I have almost no knowledge about linux. So be warned.
|