Re: [arch-general] Creation of startup scripts

2010-10-07 Thread David C. Rankin
On 10/06/2010 07:59 AM, Jeremiah Dodds wrote: > man bash, and read the existing init scripts. the stuff in arch is, as far > as i've seen, clean and well commented. bash scripting has a lot of quirky > little edge areas though, so it can be hard to ease into. Chapters 7-9 of > http://rute.2038bug.

Re: [arch-general] Creation of startup scripts

2010-10-06 Thread Jeremiah Dodds
On Tue, Oct 5, 2010 at 6:59 PM, Christian wrote: > I want to start my programs at boot time from /etc/rc.d > OK i will read up on bash scripting then and see what I can come up with! > I just want to understand what certain things mean and if I can leave them > out or not when I copy and use othe

Re: [arch-general] Creation of startup scripts

2010-10-05 Thread Christian
Hi, On 2010-10-06 at 00:22 Johannes Held wrote: >"Christian" : >> OK, just want to be sure if I want to create rc scripts I should read up >on >> bash scripting? >Hehe, that depends! If you need to do really complicated things - yes! >If you simply want to start some program like you would from

Re: [arch-general] Creation of startup scripts

2010-10-05 Thread Ng Oon-Ee
On Wed, 2010-10-06 at 00:22 +0200, Johannes Held wrote: > "Christian" : > > OK, just want to be sure if I want to create rc scripts I should read up on > > bash scripting? > Hehe, that depends! If you need to do really complicated things - yes! > If you simply want to start some program like you wo

Re: [arch-general] Creation of startup scripts

2010-10-05 Thread Johannes Held
"Christian" : > OK, just want to be sure if I want to create rc scripts I should read up on > bash scripting? Hehe, that depends! If you need to do really complicated things - yes! If you simply want to start some program like you would from shell - no! -- Gruß, Johannes http://hehejo.de signat

Re: [arch-general] Creation of startup scripts

2010-10-05 Thread Christian
Hi, On 2010-10-05 at 23:38 Johannes Held wrote: >"Christian" : >> I would also like to get started in creating aur packages. >> But this is bash scripts? >Jep, nearly everything on ArchLinux is made via bash (exceptions are >pacman and >friends). > >Whether you want to crreate aur packages or al

Re: [arch-general] Creation of startup scripts

2010-10-05 Thread Johannes Held
"Christian" : > I would also like to get started in creating aur packages. > But this is bash scripts? Jep, nearly everything on ArchLinux is made via bash (exceptions are pacman and friends). Whether you want to crreate aur packages or alter provided packages you need to learn about PKGBUILD and

Re: [arch-general] Creation of startup scripts

2010-10-05 Thread Christian
Hi, On 2010-10-05 at 16:02 Dan McGee wrote: >On Tue, Oct 5, 2010 at 3:55 PM, Christian wrote: >> Hi all, >> I am learning more and more about Linux, but I would like to learn how >to create startup scripts for my programs, any good resource? Where should >I start? >> Many thanks, >> Christian >

Re: [arch-general] Creation of startup scripts

2010-10-05 Thread Christian
Hi, On 2010-10-05 at 23:00 Johannes Held wrote: >"Christian" : >> Hi all, >> I am learning more and more about Linux, but I would like to learn how to >> create startup scripts for my programs, any good resource? Where should I >> start? Many thanks, Christian >> >Take some initscript from /etc/

Re: [arch-general] Creation of startup scripts

2010-10-05 Thread Dan McGee
On Tue, Oct 5, 2010 at 3:55 PM, Christian wrote: > Hi all, > I am learning more and more about Linux, but I would like to learn how to > create startup scripts for my programs, any good resource? Where should I > start? > Many thanks, > Christian Startup scripts are pretty specific to each dist

Re: [arch-general] Creation of startup scripts

2010-10-05 Thread Johannes Held
"Christian" : > Hi all, > I am learning more and more about Linux, but I would like to learn how to > create startup scripts for my programs, any good resource? Where should I > start? Many thanks, Christian > Take some initscript from /etc/rc.d, copy and adjust it to your needs. -- Gruß, Johann

Re: [arch-general] Creation of startup scripts

2010-10-05 Thread Ryan Williams
If you mean bash scripting, this is a good beginner's guide: http://mywiki.wooledge.org/BashGuide Otherwise you will have to provide some more information on exactly what you want to do. On Tue, Oct 5, 2010 at 4:55 PM, Christian wrote: > Hi all, > I am learning more and more about Linux, but I

[arch-general] Creation of startup scripts

2010-10-05 Thread Christian
Hi all, I am learning more and more about Linux, but I would like to learn how to create startup scripts for my programs, any good resource? Where should I start? Many thanks, Christian