/etc/init.d/ethnet

Jesse Tie Ten Quee highos at highos.com
Sat Dec 2 15:45:56 PST 2000


Yo,

May i make a small suggestion to add...as this is what is kinda really
need for your standard LAN connection.

What's the point of including the script, if you don't even add the
route ;)

case "1" in
    start)
        echo -n "Bringing up the eth0 interface..."
        /sbin/ifconfig eth0 $IP broadcast $BROADCAST netmask $NETMASK
        evaluate_retval

        echo -n "Setting up routing for eth0 interface..."
        /sbin/route add default gw $GATEWAY metric 1
        evaluate_retval

        ;;

    stop)

-
Jesse Tie Ten Quee - highos at highos dot com

-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list