Using the LSB Bootscripts

Archaic archaic at
Tue May 10 07:12:03 PDT 2011

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.

>      * 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.

Why MIT? These aren't book instructions.

>      * Remove selective boot - personally I'd rather keep that in place 
> simply because it was requested so many times in the past, but possibly 
> disable the functionality by default?

Disabled by default sound like a good compromise.


More information about the lfs-dev mailing list