2015-01-29, 21:23
Hy Guys,
these days i installed Kodi on my Raspberry Pi. After sometime i got it to work, and i would like start using it as a mediacenter to play some videos and music located on my NAS. My Question is, how or where can i store a script so that shares on my NAS are automaticly mounted when the Pi starts or reboots?
I created a file "autostart.sh" stored in home directory of Use "pi" => reboot => didnt work
placed a link like "@reboot path-to-the-script" in the crontab ( for user pi and for root ) => not mounted on boot
the path to the file is correct and the script is working if it is executed directly from a shell, the cron-scheduler is also enabled in the kodi settings :S
thx for your replays
Imker
these days i installed Kodi on my Raspberry Pi. After sometime i got it to work, and i would like start using it as a mediacenter to play some videos and music located on my NAS. My Question is, how or where can i store a script so that shares on my NAS are automaticly mounted when the Pi starts or reboots?
I created a file "autostart.sh" stored in home directory of Use "pi" => reboot => didnt work
placed a link like "@reboot path-to-the-script" in the crontab ( for user pi and for root ) => not mounted on boot
the path to the file is correct and the script is working if it is executed directly from a shell, the cron-scheduler is also enabled in the kodi settings :S
thx for your replays
Imker