Re: [slackware-alphadevel] Bug report (and fix): setup.netconfig

From: Chris Lumens (chris@slackware.com)
Date: Fri Dec 01 2000 - 02:49:15 PST


> /var/log/setup/setup.netconfig is unable to run as it complains about not
> being able to find 'sbin/netconfig.tty' or '/sbin/netconfig.color'. Patch
> is below:
>
>
> --- setup.netconfig~ Wed May 6 22:58:26 1998
> +++ setup.netconfig Thu Nov 30 19:07:58 2000
> @@ -5,12 +5,12 @@
> configure your network?" 5 60
> if [ $? = 0 ]; then
> NETCONF="y"
> - sh sbin/netconfig.color
> + sh /sbin/netconfig.color
> fi
> else
> echo -n "Would you like to configure your network ([y]es, [n]o)? "
> read NETCONF;
> if [ "$NETCONF" = "y" ]; then
> - sh sbin/netconfig.tty
> + sh /sbin/netconfig.tty
> fi
> fi

The problem is that these scripts are not actually meant to be run outside
of the setup program environment. I've been using setup to configure my
test systems over the last few reinstalls, and it looks good. Aside from
not being able to run the kernel/bootdisk options, everything works.

For a while, I was unsure if setup was going to work well enough for use.
I hadn't really tested it at all. But I've found that it's only
archictecture-specific in a few places. We can get around those for now,
and they can easily be removed later on.

So, feel free to start using setup to configure your system after you've
installed everything by hand. I've modified the INSTALL document to
reflect this, and it will be sunc out tomorrow with whatever else I fix.

-- 
Chris Lumens - chris@slackware.com - KG6CIH
@n=(-42,-85,-83,-19,65,2,-10,-10,-15,-3,2,-10,73,-4,8,-4,2,79,8,17,15,7,14,2);
print map{chr(-$n[$i++]+ord)} sort(split(//,'place random string here')),"\n";



This archive was generated by hypermail 2b30 : Fri May 09 2003 - 10:00:02 PDT