[25560] in Source-Commits

home help back first fref pref prev next nref lref last post

Re: /svn/athena r25084 - trunk/debathena/scripts/installer/pxe/lucid/debathena

daemon@ATHENA.MIT.EDU (Jonathan Reed)
Thu Mar 31 16:29:20 2011

Mime-Version: 1.0 (Apple Message framework v1082)
Content-Type: text/plain; charset=us-ascii
From: Jonathan Reed <jdreed@MIT.EDU>
In-Reply-To: <201103312027.p2VKRaUJ001496@drugstore.mit.edu>
Date: Thu, 31 Mar 2011 16:29:13 -0400
Cc: source-commits@mit.edu
Message-Id: <DBA92533-A2BE-423A-AF42-369C262574FE@mit.edu>
To: Jonathan D Reed <jdreed@mit.edu>
Content-Transfer-Encoding: 8bit

(To clarify, BusyBox's version of ip(8) is much pickier about syntax).

On Mar 31, 2011, at 4:27 PM, Jonathan D Reed wrote:

> Author: jdreed
> Date: 2011-03-31 16:27:36 -0400 (Thu, 31 Mar 2011)
> New Revision: 25084
> 
> Modified:
>   trunk/debathena/scripts/installer/pxe/lucid/debathena/installer.sh
> Log:
> Use the correct syntax for the ip command
> 
> Modified: trunk/debathena/scripts/installer/pxe/lucid/debathena/installer.sh
> ===================================================================
> --- trunk/debathena/scripts/installer/pxe/lucid/debathena/installer.sh	2011-03-31 04:33:28 UTC (rev 25083)
> +++ trunk/debathena/scripts/installer/pxe/lucid/debathena/installer.sh	2011-03-31 20:27:36 UTC (rev 25084)
> @@ -156,7 +156,7 @@
>   # that nothing else is happening, so "killall wget" should be safe.
>   (sleep 5; killall wget >/dev/null 2>&1) &
>   if wget -s http://$mirrorsite/ubuntu ; then
> -    if ip address show to 18/8 | grep -q . && ! ip address show to 18.2/16 | grep -q . ; then
> +    if ip address show to 18.0.0.0/8 | grep -q . && ! ip address show to 18.2.0.0/16 | grep -q . ; then
>       echo "Your computer seems to be registered on MITnet."
>     else
>       echo "Your computer seems not to be registered on MITnet, but the mirror"
> 



home help back first fref pref prev next nref lref last post