This is a discussion on startup services within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> were can i find the script for stopping services by boot i use slackware 9.0 thanks Ruud...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| On Mon, 1 Mar 2004, Ruud wrote: > were can i find the script for stopping services by boot > i use slackware 9.0 > thanks Ruud The various scripts used to configure your machine (at the end of the normal installation procedure) are store in the diretory, /var/log/setup/ The script you want is called, conveniently, setup.services. you need root permissions and to be in the / directory: % su root (passwd) # cd / # setup.services -- William Hunt, Portland Oregon USA |
| |||
| On 2004-03-01, Ruud <spammer@spams.nl> wrote: > were can i find the script for stopping services by boot > > i use slackware 9.0 > > thanks Ruud > You might also want to check out the scripts in /etc/rc.d. Just change the permissions. ken -- ------------------------------------------------ The great flood: God's attempt at a warm reboot. ------------------------------------------------ |
| |||
| Ruud wrote: > were can i find the script for stopping services by boot you probably want the scripts in /etc/rc.d. often stopping a service from starting at boot is done by 'chmod -x' on the relevant script. -- Joost Kremers joostkremers@yahoo.com Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9) |
| |||
| William Hunt wrote: > On Mon, 1 Mar 2004, Ruud wrote: >> were can i find the script for stopping services by boot >> i use slackware 9.0 >> thanks Ruud > > > The various scripts used to configure your machine > (at the end of the normal installation procedure) > are store in the diretory, /var/log/setup/ > > The script you want is called, conveniently, > setup.services. > > you need root permissions and to be in the / directory: > > % su root > (passwd) > # cd / > # setup.services > > > > > Not in slackware. They are in the /etc/rc.d directory. Such files rc.M to start with, as they show the other scripts they call. Another note, at the top the give a general description of what they do, in this case starting or stopping multi-user services. Others, such as rc.inet2 start network services, and the other post about changing execute mode will disable the entire script. It is what I do for the rc.pcmcia script since I don't have a laptop. As far as individual services, in those particularly rc.inet2 you will have to comment or uncomment the lines that call other scripts, etc. Just in case, you want ..say NFS server running but you want other stuff. It's not hard but a little reading is involved. |
| |||
| On Mon, 1 Mar 2004, Douglas Gardiner wrote: > William Hunt wrote: >> On Mon, 1 Mar 2004, Ruud wrote: >>> were can i find the script for stopping services by boot >>> i use slackware 9.0 >> >> The various scripts used to configure your machine >> (at the end of the normal installation procedure) >> are store in the diretory, /var/log/setup/ >> The script you want is called, conveniently, >> setup.services. >> you need root permissions and to be in the / directory: >> % su root >> (passwd) >> # cd / >> # setup.services >> > Not in slackware. wellllll, it's in slackware 9.1 anyway. also with 9.1 it's a selection off the pkgtools menu. i'm not sure when that was introduced - but right, slackware 8.1 doesn't have any setup.services script. evolution in progress. > They are in the /etc/rc.d directory. Such files rc.M to > start with, as they show the other scripts they call. [...] > stuff. It's not hard but a little reading is involved. right ... -- William Hunt, Portland Oregon USA |
| |||
| Joost Kremers heeft geschreven: > Ruud wrote: > >>were can i find the script for stopping services by boot > > > you probably want the scripts in /etc/rc.d. often stopping a service from > starting at boot is done by 'chmod -x' on the relevant script. > Thank you en can you also tell me how i can see wich services run now |
| |||
| Ruud wrote: > en can you also tell me how i can see wich services run now well, services whose startup script are executable will probably be running. 'ps -ef | less' will give you a list of running processes, which includes all services whose process is actually running. AFAIK there is no other way. -- Joost Kremers joostkremers@yahoo.com Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9) |
| |||
| On 2004-03-02, Joost Kremers <joostkremers@yahoo.com> wrote: > Ruud wrote: >> en can you also tell me how i can see wich services run now > > well, services whose startup script are executable will probably be > running. 'ps -ef | less' will give you a list of running processes, which > includes all services whose process is actually running. AFAIK there is no > other way. > You could also % ls -la /proc/*/exe Not btter, just different. ken |
| ||||
| >>>were can i find the script for stopping services by boot >> >> >> you probably want the scripts in /etc/rc.d. often stopping a service from >> starting at boot is done by 'chmod -x' on the relevant script. >> > Thank you > > en can you also tell me how i can see wich services run now ls /etc/rc.d The ones which are green will run. |
| Thread Tools | |
| Display Modes | |
|
|