NetworkManager things

Tim ignored_mailbox at yahoo.com.au
Thu Jul 5 12:16:51 UTC 2007


On Thu, 2007-07-05 at 05:34 -0600, Karl Larsen wrote:
> As expected the NetworManager is in the kernel after the boot. The 
> chkconfig filename on is a "works every time" device. For some reason
> if you do it to the actual file in /etc/rc.d/init.d/ it no longer
> works. I tried ./filename start and that turns it on now but only
> once. 

"chkconfig" - checks or sets whether a service will be started or
stopped, and on which run levels.  It changes files in the /etc/rd.d/
subdirectories.  The numbered subdirectories refer to the run levels (3
being the usual text-only run level, 5 being the usual GUI one), the K
files inside them refer to services that will be killed in that run
level, the S files in them refer to services that will be started.
Something else starts or stops the service.  That "something else" could
be changing run levels (which includes booting the computer into that
run level), or directly calling the scripts.

"service" - lets you start/stop/check it's running/etc, *now*, but
doesn't configure when it'll be started or stopped.

Running the /etc/init.d/scriptname directly does the same as the service
command.  It lets you start/stop/check/etc, it *now*.  The service
command lets you avoid having to type in the full path to the script.


-- 
[tim at bigblack ~]$ rm -rfd /*^H^H^H^H^H^H^H^H^H^Huname -ipr
2.6.21-1.3228.fc7 i686 i386

Using FC 4, 5, 6 & 7, plus CentOS 5.  Today, it's FC7.

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.






More information about the fedora-list mailing list