Viewing 1 post (of 1 total)
  • Author
    Posts
  • #107774
    titafubaki
    Participant

    Hi guys,
    I wonder how scripts in retropie works.
    I have created a theme for own Apps.(see pictures) There are some scripts (indicated with the extension .sh) The scripts work but if I try to use “read” to enter a information there will not be the possibility to enter something. There are just an error message like “read: read error: 0:bad file descriptor”.
    If i start the script in putty (SSH) it works fine.

    Here it is:

    #!/bin/bash
    echo -n "Enter your IP and press [ENTER]: "
    read ipaddress
    moonlight pair $ipaddress
    echo $ipaddress > /home/pi/RetroPie/roms/apps/ipaddress

    I think it is just something really stupid but i cant find a solution.
    The Last Picture is the Error. Do somebody have the solution?

Viewing 1 post (of 1 total)
  • The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.