Runlevels
I was looking to see what daemons started at the gui runlevel, usually runlevel 5. So, I looked in the /etc directory and there was no rc5.d directory in there. all I could find was the rc.d directory which had the rc4.d config file. It stated that in was the config runlevel. I'm used to Fedora and this is quite different. Where do you select the default daemons for the run level in slack? I couldn't find anything in th /etc directory.
Thanks, Tom |
Hello,
Do you want to configure which daemons run at boot? Edit /etc/inetd.conf, comment or uncomment the services and restart inetd. If this isn't it and you want to specify daemons per run lvl, I'm not too sure about that. Either way, GL. -Jason |
Yep, I wanted to see what daemons started at boot. With Fedora/Redhat you just go into the rc5.d and rename the files to have a S for start or a K for kill. It confused me when those directories didn't exist. I'll check out the intid.conf file after work.
Thanks, much appretiated Tom |
you could use pkgtool ( needs to be run as root)
|
To see a overview about the /etc/rc.d directory go here: http://www.slackware.com/book/index....SYSTEMOVERVIEW
and scroll to The /etc/rc.d Directory Basically, you don't have runlevel directories, but file, and each service (if started stand-alone, you could use /etc/inetd.conf as stated, but this works only for network apps) is given a rc file. Like Apache has /etc/rc.d/rc.httpd, SSHd has /etc/rc.d/rc.sshd. To know if it will be run as startup, you just have to see if the file is executable or not (the permissions). pkgtool as __J said, has a front-end to this rc files, it will basically make them executable or not depending on what you choose. To change the permissions manually, just chmod -x /etc/rc.d/rc.httpd for example. |
GUI in Slackware is usually runlevel 4.
As for what's running, the same services as runlevel 3. Everything that's executable in /etc/rc.d/ In addition, it runs /etc/rc.d/rc.4, which calls GDM, KDM, or XDM in that order of preference. The only difference between RL3 and RL4 in Slack is that RL4 has X running. |
What I was trying to do was to mount an NFS share on to my new slack system and the mount command hung until you close the term. It is much different than my fedora system. I needed to enable the portmap file so I made it excutable. where do you find the nfsd and smbd services?
Thanks, tom |
rc.nfsd and rc.samba
|
The longer anwer would be: go into /etc/rc.d. There you'll find three scripts of interest: rc.samba, rc.portmap and rc.nfsd.
First read them, there's some interesting comments inside. Then make sure they're executable (chmod +x), this way they'll get started at the next boot. To start them right away without rebooting, execute them with the "start" option (e.g. "./rc.samba start"). HTH |
All times are GMT -5. The time now is 02:12 AM. |