On 6/21/06, Philip Dillon-Thiselton <[EMAIL PROTECTED]> wrote:
> OK, so that's sorted, what about checking what type of interface it is,
> though?

just modify the netcfg so that it wont run ifconfig, if IFOPTS is undefined.

Currently it's:
if IFOPTS=dhcp
 run dhcp
else
 run static config

just change that else to,

else if [ ! -z IFOPTS or ! IFOPTS = "" ]

excuse the crap pseudocode. Then a user can simply comment out ifopts,
or blank it, and it wont run ifconfig or dhcp. then it IS that easy as
adding a ppp section.

James

-- 
iphitus - Beyond Maintainer, Arch Trusted User, Arch Developer.
Home:iphitus.loudas.com

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to