LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-11-2003, 11:06 AM   #1
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Rep: Reputation: 30
Question rc.modules


Ok i went into /etc/rc.d/rc.modules to try to load the modules for my sound card but... when i uncommented it and saved it not thinking that i shoulda went into root to change it i just changed the permissions to 755 then i saved it then i changed the permissions back to -rwxr-xr-x then i rebooted and what would u know my internet didnt work so i loged into root uncommented the changes i made then rebooted and it worked fine but... i went back to rc.modules and notcied that it was a text file not a shell script and im pssitive that before i edited it was a shell script so i went to properties and checked out some things in ther it ididnmt say much so i tired edit file types and see that in there it said text file so i changed that to Shell Script and change the *.txt to *.sh and *.csh then clicked apply and ok then i logged outta a root and loged into user and it still hasnt changed any reasonb for this?? Also when i told u my internet worked ya well it just bearly works and like when i booted up i got an error but i cant see to find it in dmesg so ill post the mesg back later thanx

Matt3333
 
Old 10-11-2003, 12:33 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
That is about the hardest post to read, can I ask you to possibly add some periods ( . ) and such to it; to complete sentences and to get rid of the long running run-on sentence it is? It would make it easier for me or anyone else here to read and possibly help you with your problem.

I'm not trying to be rude really, but the easier it is to read your questions, the easier it is to help you.

Regards.
 
Old 10-11-2003, 02:18 PM   #3
LinFreak!
Member
 
Registered: Jul 2003
Location: England
Distribution: slack9.1
Posts: 209

Rep: Reputation: 30
a shell script is basically a text file with:

#!/bin.sh

at the start

chmod 777 [filename] = rwxr-xr-x

chmod -rwxr-xr-x [filename] = chmod 022 or 000 (takes atributes away!)

try "man chmod"
 
Old 10-11-2003, 11:46 PM   #4
linuxJaver
Member
 
Registered: Jul 2003
Location: Jakartax, ID
Distribution: slack9.1+,9.1,rh9
Posts: 203

Rep: Reputation: 30
Basically those files in /etc/rc.d/* are text-files, but they need to be executable and readable. The 1st process started during the boot phase is "init", .., ...

Some how init statet another script, which then checks the files on /etc/rc.d for their permissions. They will then be processed only if they have execute permission.

See into the /etc/rc.d/rc.xxx, if it has such start(),stop(),restart() inside and has executable permission for an user, then that user can stop,start,resart it without to reboot ..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Update-modules: No longer managing /lib/modules/modprobe.conf? geekzen Debian 0 04-03-2004 06:49 PM
/etc/conf.modules is more recent than /lib/module/2.2.15-4mdk/modules.dep Derek-kun Linux - Newbie 3 09-26-2003 02:56 AM
Slack9 - no PPP (can't open dependencies file /lib/modules/2.4.18/modules.dep) bluehz Slackware 1 05-04-2003 02:32 PM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 01:50 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 01:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration