Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a script which i use to dial my adsl speedtouch modem. It is called speedial. I currently have it in /etc/rc.d/speedial. I expect it to be executed at bootime but it doesn't. However at the prompt when i dial /etc/rc.d/speedial it runs perfectly.
There is a directory /etc/rc.d/rc5.d (or /etc/rc5.d - I don't use know where slackware puts it) and init runs every script in that directory that starts with an S character in alphabetical order with the parameter start. You need to create a symlink from /etc/rc.d/speedial to /etc/rc.d/rc5.d/S99speedial. This will cause the script to be run at boot. The 99 is used to order the script to be run last (unless a S99tftp or similar exists) and you can use another number if you wish.
... however slackware uses BSD style init instead of SystemV, so there is no rc4.d directory (or in fact any directory at all under rc.d). In principle the script should get run if it has execute (+x) bit set. You could ofcourse run your script from rc.local too...
Thanks all especially gnashley and alienDog. It works now> I copied the script into rc.local and it now boots at start. By the way where have you guys been for the past week when i need your help
BTW most scripts located in /etc/rc.d only run when called.
init automatically runs rc.S (which calls rc.modules) then rc.M (which calls rc.local).
init level 4 may omit rc.M. there was a post the other day that said so, but I haven't checked yet to see if it's so.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.