Using the LSB Bootscripts

Bruce Dubbs bruce.dubbs at
Tue May 10 18:11:44 PDT 2011

Archaic wrote:
> On Tue, May 10, 2011 at 07:25:50AM -0500, DJ Lucas wrote:
>>      * ifup - copy configuration file from /etc/network/$int/$file to 
>> /run/network/$int/$file upon successful initialization of the interface.
> I believe /var/run is a more suitable place for this.

/var/run is a symlink to /run.  If you follow the discussion on the fhs 
mailing list, this is almost certain to occur.  Expect an update to the 
fhs in the next six months.

>>      * ifdown - source configuration files from /run/network/$int/*.
>>      * ifdown - if interface configuration files do not exist, ip addr 
>> flush $int, ip link set $int down, exit 0.
> There might be situations where manual modification of an existing
> interface was done leaving ip addr flush still a needed option even with
> a state file. I imagine this as generally a corner case, but I'm putting
> it out there in case it is considered a legitimate concern. I saw you
> mention ppp <snipped> and pppoe is still a valid use for it. I'm not
> sure how involved the scripts should get. Is grepping for a running dhcp
> client on that interface too far?
>>      * Add a copy of the MIT license file to bootscripts.

Unnecessary.  The book copyright already covers it.

> Why MIT? These aren't book instructions.

They are published in the appendices.

   -- Bruce

More information about the lfs-dev mailing list