Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord
    1. Home
    2. Tolley
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    Tolley

    @Tolley

    0
    Reputation
    323
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Tolley Unfollow Follow

    Latest posts made by Tolley

    • RE: Startup script not running after following wiki

      @Substring Oops totally forgot about chmod, temp does exist and when i run it manually it works. After chmodding it still doesn't work.

      posted in Recalbox General
      Tolley
      Tolley
    • Startup script not running after following wiki

      I followed the guide from the wiki https://github.com/recalbox/recalbox-os/wiki/Add-your-own-startup-script-(EN) and my script doesn't run on boot. I placed it in /etc.init.d/ and named it S97osmc.sh. It mounts a partition then copys a file called osmc.txt to the mounted partition and then renames autoboot.txt. I am running OSMC, Raspbian and Recalbox in noobs multiboot. I am using a raspberry pi 3 and my recalbox verson is 18.02.09 (according to system settings)

      S97osmc.sh:

      #!/bin/bash
      
      cd ~
      echo 'Attempting Mount'
      mount /dev/mmcblk0p1 ~/temp
      echo 'Attempted Mount'
      echo 'Copying osmc.txt'
      cp /etc/init.d/osmc.txt ~/temp/autoboot.txt
      echo 'Copyed osmc.txt'
      echo 'Done!'
      

      osmc.txt:

      boot_partition=8
      

      Thanks in advance for any help

      posted in Recalbox General
      Tolley
      Tolley