[25559] in Source-Commits
/svn/athena r25084 - trunk/debathena/scripts/installer/pxe/lucid/debathena
daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Thu Mar 31 16:27:43 2011
Date: Thu, 31 Mar 2011 16:27:36 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201103312027.p2VKRaUJ001496@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
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"