Re: [SLUG] ifconfig not gettting set

From: Kwan Lowe (kwan@digitalhermit.com)
Date: Sun May 08 2005 - 18:21:14 EDT


Chuck Hast wrote:

> Doing it manually it is just fine, but I am trying to figure out how the symlink
> would call networking restart? it is linking to a file, but I do not see how to
> cause the link to issue the command. Perhaps i am being dense here...
>
> Here is what the entry from rcS.d for networking looks like
> lrwxrwxrwx 1 root root 20 Aug 30 2004 S40networking
> -> ../init.d/networking
>
> I need it to be networking restart. Will the ln command allow you to create a
> symlink to a file and add a argument?
>

The symlinks are executed by the rc program (/etc/rc.d/rc). Briefly, it
runs the symlink with a "start" or "stop" parameter, depending on what
runlevel the box is in. Check out the rc script to see how it works.
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:47:15 EDT