Noob question, get a script running at boot
|
19th Jun, 2014, 11:15 PM
Post: #24
|
|||
|
|||
RE: Noob question, get a script running at boot
(19th Jun, 2014 07:42 AM)huibert Wrote: I'm sorry, i didn't get a notification for that response, so i haven't tries it yet. It wasn't my intention to ignore anyone. [...] No problem! I just thought that you had already success. In this case I would have expected a short reply. But of course, I didn't want to be harsh or offended only because you didn't answered fast enough. ![]() (19th Jun, 2014 07:42 AM)huibert Wrote: can anyone advise me what might be the problem with these 2 automatic services not working? Ok, so let's face the /etc/rc.local method. - What exactly did you put in and where? There are three important things you have to consider:
Example: If I would want to run a script after boot as user xbian and keep the script running, I would add a line like: Code: su xbian -c "/path/script &" right before the exit(0) line in /etc/rc.local. If you want to run the script as root, the part in the quotes (/path/script &) is all you need! My setup: Software: XBian version: 1.0RC3 | XBMC version: 13.2 (Gotham) | Overclock settings: High Hardware: RPi model: B | Power: DUB-H7 | SD: Tanscend Class 10 | Network: Wireless |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
Noob question: Solving crash problems | JumbledGrass | 28 | 82,810 |
9th Jun, 2014 11:57 PM Last Post: menakite |