Announcement

Collapse
No announcement yet.

Doesn't autostart

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Doesn't autostart

    Not sure what I'm doing wrong. Getting mono to work too some time, guide needs updating.
    Everything works except autostart. I'm not great at Linux, wait, I hardly know anything about linux

    Here is my /etc/rc.local

    pi@raspberrypi:~/RaspberryIO $ sudo pico /etc/rc.local
    GNU nano 3.2 /etc/rc.local

    #!/bin/sh -e
    #
    # rc.local
    #
    # This script is executed at the end of each multiuser runlevel.
    # Make sure that the script will "exit 0" on success or any other
    # value on error.
    #
    # In order to enable or disable this script just change the execution
    # bits.
    #
    # By default this script does nothing.

    # Print the IP address
    _IP=$(hostname -I) || true
    if [ "$_IP" ]; then
    printf "My IP address is %s\n" "$_IP"
    fi
    # sudo /home/homeseer/RaspberryIO/run.sh &
    cd ~/RaspberryIO
    sudo mono HSPI_RaspberryIO.exe server=192.168.86.195 instance=TestRemote2 autorec$
    exit 0
Working...
X