LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to run rc.wireless and rc.inet1? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-run-rc-wireless-and-rc-inet1-4175423327/)

zeruitle 08-21-2012 09:44 PM

How to run rc.wireless and rc.inet1?
 
I thought after I edit rc.wireless.conf I need to run rc.wireless and rc.inet1 to make changes work, but my file are: rc.wireless* and rc.inet1*...and it cannot be run...what's wrong?

TKH 08-21-2012 10:29 PM

I think you should restart your system instead

zeruitle 08-21-2012 10:40 PM

Quote:

Originally Posted by TKH (Post 4760660)
I think you should restart your system instead

No... I think I find the way... use "/etc/rc.d/rc.inet1 restart"

Is that correct?

TKH 08-21-2012 11:44 PM

The stuff in /etc/rc.d are meant to run on system startup. You can't run them like that.

Wim Sturkenboom 08-22-2012 03:04 AM

Yes, you can run them like that.

It's the way how you e.g. restart apache in Slackware or restart inetd after enabling / disabling a service in inetd.conf

zeruitle 08-22-2012 09:04 AM

Quote:

Originally Posted by Wim Sturkenboom (Post 4760852)
Yes, you can run them like that.

It's the way how you e.g. restart apache in Slackware or restart inetd after enabling / disabling a service in inetd.conf

got it, thanks a lot!


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