custom startup script

Post here if you are a new Porteus member and you're looking for some help.
phill42083
Black ninja
Black ninja
Posts: 31
Joined: 13 Nov 2012, 19:00
Distribution: 1.2 - i486
Location: USA

custom startup script

Post#1 by phill42083 » 17 Dec 2012, 23:55

I was wondering how to create a custom startup script, I want a few things to startup on boot if possible.

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: custom startup script

Post#2 by Hamza » 18 Dec 2012, 09:36

Code: Select all

echo -e "\n/path/to/script" >> /etc/rc.d/rc.local
NjVFQzY2Rg==

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: custom startup script

Post#3 by Ahau » 18 Dec 2012, 23:10

You can also customize your startup through the Porteus Settings Center, which uses the 'sysvinit' style, so you can add multiple scripts to start at various runlevels across mutiple modules (you don't want to use rc.local in those cases, as differing copies would be overwritten by other modules/rootcopy/saved changes). If you're just looking to have applications start up inside your desktop environment, that can be handled as well, but each desktop environment is a little different.
Please take a look at our online documentation, here. Suggestions are welcome!

Post Reply