From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.236.111.36 with SMTP id v24cs58044yhg; Mon, 3 Oct 2011 10:30:45 -0700 (PDT) Return-Path: <9front+bncCPG81tSPDBC94qf0BBoEMqeK6Q@googlegroups.com> Received-SPF: pass (google.com: domain of 9front+bncCPG81tSPDBC94qf0BBoEMqeK6Q@googlegroups.com designates 10.216.187.138 as permitted sender) client-ip=10.216.187.138; Authentication-Results: mr.google.com; spf=pass (google.com: domain of 9front+bncCPG81tSPDBC94qf0BBoEMqeK6Q@googlegroups.com designates 10.216.187.138 as permitted sender) smtp.mail=9front+bncCPG81tSPDBC94qf0BBoEMqeK6Q@googlegroups.com; dkim=pass header.i=9front+bncCPG81tSPDBC94qf0BBoEMqeK6Q@googlegroups.com Received: from mr.google.com ([10.216.187.138]) by 10.216.187.138 with SMTP id y10mr3589458wem.8.1317663044253 (num_hops = 1); Mon, 03 Oct 2011 10:30:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:in-reply-to:references:date :message-id:subject:from:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=neCTafvgHXu5RRhG3fA4dZN7OIINu7XU+V3UKCd7Xcg=; b=HednHIMpYHUsQQQ+jbxZxNwaBGczUZB+bIzbKbFh08eY7TpW/NHPTjPWxQCSh4KYmD LHaSQOHDjhT6zMr4tuFSiraasU2EDv6ne2Do9VksyNw56quKQgnqsSU8m10ZdI4fU2in OWdI6usg7F5gfAftyIInTuKEYKgVGehBjCklU= Received: by 10.216.187.138 with SMTP id y10mr1114046wem.8.1317663037843; Mon, 03 Oct 2011 10:30:37 -0700 (PDT) X-BeenThere: 9front@googlegroups.com Received: by 10.14.49.196 with SMTP id x44ls627452eeb.6.canary; Mon, 03 Oct 2011 10:30:37 -0700 (PDT) Received: by 10.14.20.18 with SMTP id o18mr60605eeo.15.1317663037282; Mon, 03 Oct 2011 10:30:37 -0700 (PDT) Received: by 10.14.20.18 with SMTP id o18mr60604eeo.15.1317663037264; Mon, 03 Oct 2011 10:30:37 -0700 (PDT) Received: from mail-ey0-f180.google.com (mail-ey0-f180.google.com [209.85.215.180]) by gmr-mx.google.com with ESMTPS id h4si8167097eea.3.2011.10.03.10.30.37 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 03 Oct 2011 10:30:37 -0700 (PDT) Received-SPF: pass (google.com: domain of yiyu.jgl@gmail.com designates 209.85.215.180 as permitted sender) client-ip=209.85.215.180; Received: by eyb6 with SMTP id 6so4109213eyb.11 for <9front@googlegroups.com>; Mon, 03 Oct 2011 10:30:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.94.134 with SMTP id z6mr258938fam.8.1317663037065; Mon, 03 Oct 2011 10:30:37 -0700 (PDT) Received: by 10.223.111.195 with HTTP; Mon, 3 Oct 2011 10:30:37 -0700 (PDT) In-Reply-To: <20111003133211.4e4b679f@kolari.ethans.dre.am> References: <20111003133211.4e4b679f@kolari.ethans.dre.am> Date: Mon, 3 Oct 2011 19:30:37 +0200 Message-ID: Subject: Re: How can i get the network working with 9vx From: yy To: 9front@googlegroups.com X-Original-Sender: yiyu.jgl@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of yiyu.jgl@gmail.com designates 209.85.215.180 as permitted sender) smtp.mail=yiyu.jgl@gmail.com; dkim=pass (test mode) header.i=@gmail.com Reply-To: 9front@googlegroups.com Precedence: list Mailing-list: list 9front@googlegroups.com; contact 9front+owners@googlegroups.com List-ID: <9front.googlegroups.com> X-Google-Group-Id: 831096995978 List-Post: , List-Help: , List-Archive: Sender: 9front@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=ISO-8859-1 2011/10/3 Ethan Grammatikidis : > On Mon, 3 Oct 2011 08:42:59 +0200 > yy wrote: > >> A solution would be to test if $sysname is 'vx32' AND there is no >> /net/eth0. You probably want to start the network if you are using >> virtual ethernet devices. > > $sysname may be set before any scripts are run. 9vx can use some > equivalent of plan9.ini. > You are right, an user could overwrite the value of sysname. A better test to know if we are inside 9vx may be to check for '#Z' -- - yiyus || JGL .