Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Network Configuration Tool

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Casey Harkins <charkins AT upl.cs.wisc.edu>
  • To: nealbirch <nealbirch AT attbi.com>
  • Cc: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Network Configuration Tool
  • Date: Mon, 4 Nov 2002 00:06:51 -0600 (CST)


I've made your changes to save_device() on my end as well. I went back and
forth between using echo and cat, settled on echo because I could keep
proper indentation, but I agree that cat is probably cleaner.

Did you still have problems saving a file as a non-root user after you
changed save_device() to use cat? It works fine on my end, so I'm curious
as to what might be broken. Did you have write permissions on NETDEVDIR as
your non-root user? I think I'll put a check for this in, though it
probably won't matter since it is intended to be run as root.

I think I'll also add some special handling if someone tries to remove the
loopback device, just a more informative confirmation dialog telling the
user what the loopback device is and why they might not want to remove it.
Also, if someone adds a device named lo, I'll have it default to the
standard loopback settings.

I'm not sure where to add the spell, if you are going to have net-tools
call it to configure network devices if none exist, then it should
probably go in net-tools (obviously).

Once we move to the new installer, I'll probably modify this script to
work as a cauldron module as well.

-casey






Archive powered by MHonArc 2.6.24.

Top of Page