cvs commit: BLFS/BOOK/introduction/welcome changelog.xml

Anderson Lizardo lizardo at linuxfromscratch.org
Wed May 5 13:21:57 PDT 2004


On Tuesday 04 May 2004 01:45, igor at linuxfromscratch.org wrote:
>   +<para>Finally, if the <acronym>DHCP</acronym> configured interface is
>   +used as your default gateway, you should remove the GATEWAY and
> GATEWAY_IF +variables from <filename>/etc/sysconfig/network</filename>:
> </para> +
>   +<screen><userinput><command>sed -i "s/GATEWAY/#GATEWAY/"
> /etc/sysconfig/network</command></userinput></screen>

This command can be simplified by using this one:

sed -i 's/GATEWAY/#&/' /etc/sysconfig/network

-- 
Anderson Lizardo
lizardo at linuxfromscratch.org
http://www.linuxfromscratch.org/



More information about the blfs-book mailing list