View Single Post
Old 12-02-2024, 05:15 AM   #7
kobotouch2711
Member
kobotouch2711 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Nov 2024
Device: Kobo Touch
Thanks a lot. Unfortunately, recompiling currently is too much for my skills

Could you assist me, how to automatically load this script.

I generated in /etc/init.d/startbrowser.sh (with chmod +x permissions).
However, this is not automatically loaded on reboot. Where do I have to register this script?

Code:
#!/bin/bash

. /etc/init.d/functions
   
start() {
	qndb -m bwmOpenBrowser &
}
   
stop() {
        echo "nothing executed at stop" &
}
   
case "$1" in 
    start)
       start
       ;;
    stop)
       stop
       ;;
    restart)
       stop
       start
       ;;
    status)
 
       ;;
    *)
       echo "Usage: $0 {start|stop|status|restart}"
esac
   
exit 0
Executing manually works.

Last edited by kobotouch2711; 12-02-2024 at 05:17 AM. Reason: formatting
kobotouch2711 is offline   Reply With Quote