Hello,

> Inside initrd your /etc/network.conf gets overwritten.
> To be exact, it is:   (initrd.img)/scripts/live-bottom/23networking
>
yes, here is the program test:

if [ "${STATICIP}" = "frommedia" -a -e  "${IFFILE}" ]
then
        # will use existent /etc/network/interfaces
        log_end_msg
        exit 0
fi

we suppose that the file /etc/network/interfaces already exists, because has 
been packed with the main filesystem.squashfs or any additional compressed 
file.
then the variable STATICIP comes from specifying in the boot line one of the 
following options

ip
ip=frommedia

or, in another way, we can assign that variable in the file /etc/live.conf

export STATICIP="frommedia"

Regards,

Jordi Pujol

_______________________________________________
debian-live-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

Reply via email to