xinglp wrote:
> 2011/8/2 Bruce Dubbs <[email protected]>:
>> I have made a very large, invasive change to LFS. All the bootscripts
>> have been rewritten.
>>
>> From the change log:
>>
>> [bdubbs] - Rewrite bootscripts and Chaper 7.
>> o Make scripts compatible with initd format (see BLFS).
>> o Move functions and services to /lib/boot.
>
> blfs-bootscripts should make some changes for this, such as pppoe, dhcp
One thing at a time. Yes, this makes changes in all the BLFS
bootscripts necessary. However, in the LFS Bootscripts Makefile, I have
place a copy of needed files in the old way for backward compatibility.
>
>> o Log boot messages to /run/var/bootlog.
>> o Move ifup/ifdown to /sbin.
>
> It look like that you also disabled the "ifconfig.xxx dir" support.
> When set multi IP, I have to use {ifconfig.xxx.001,ifconfig.xxx.002}
> instead of ifconfig.xxx/{001,002}.
> And it will be easier for set some interface like "bridge"
Or something like:
ifconfig.eth0
ifconfig.eth0-2
The filename extension is only meaningful for the administrator, not the
scripts as before.
>> o Move network device configuration files to /etc/sysconfig/ifconfig.*.
>
> cat /etc/sysconfig/rc|grep network
> network_devices=/etc/sysconfig/network-devices
> Here also need a change.
Those are hooks in the book for backward compatibility.
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page