From owner-freebsd-current@FreeBSD.ORG Fri Aug 24 15:50:14 2012 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 70C6E106567A for ; Fri, 24 Aug 2012 15:50:14 +0000 (UTC) (envelope-from bryan@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) by mx1.freebsd.org (Postfix) with ESMTP id C1BBB8FC1A for ; Fri, 24 Aug 2012 15:50:13 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sweb; b=ADsuIa OldxNIs7pN/X/JK+AGF5+ca7STZxpPowPrXBL88PWiMD8LW0U8ECuqpbNZ/Dm8nD PnKbUOLUtvZljGWooj68EcU5O+zs8+WGJoeAMAN6AOAQ7onbK4T/mRGZWMprIoUh iiQHEXHPRbd+ZFSTA8vQtTQdkXEd7imMDlmKQ= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=sweb; bh=khnnk0NWx9Nq lGw6dL4cYW6ECViT42kMOlIIBy7AlAQ=; b=uEIpOkQasI5HTZRRkX/0sLlfa8TU tUJNxndETkt9v0Mo/qAUhJ7iZ/NXNjJl/fdAskK8g3y+CdZD8Ux8KoSt5OaKyVdb PxEbzyw5fVtfnK3yIk27yqundzvLuQpuh/ByQOyE/njEWIgaMUe7Y+5OhJoeJ8M0 ntexVyGBgSFSmDg= Received: (qmail 57641 invoked from network); 24 Aug 2012 10:50:04 -0500 Received: from unknown (HELO ?192.168.0.74?) (bryan@shatow.net@74.94.87.209) by sweb.xzibition.com with ESMTPA; 24 Aug 2012 10:50:04 -0500 Message-ID: <5037A2C6.4060200@shatow.net> Date: Fri, 24 Aug 2012 10:50:30 -0500 From: Bryan Drewery User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Baptiste Daroussin References: <97612B57-1255-4BB3-A6D3-FC74324C6D67@FreeBSD.org> <20120824081543.GB2998@ithaqua.etoilebsd.net> <50377253.103@FreeBSD.org> <20120824143119.GA37867@ithaqua.etoilebsd.net> In-Reply-To: <20120824143119.GA37867@ithaqua.etoilebsd.net> X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org, Steve Wills , current@FreeBSD.org, Alex Dupre Subject: Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2012 15:50:14 -0000 On 8/24/2012 9:31 AM, Baptiste Daroussin wrote: > On Fri, Aug 24, 2012 at 02:23:47PM +0200, Alex Dupre wrote: >> Baptiste Daroussin ha scritto: >> >>> On of the thing I forgot and kan@ has added is a prompt for the user in case it >>> is going to bootstrap. >> >> So, removing the prompt will make everybody happy? :-) >> >> What about a prompt with timeout? "This is the first time pkg is run, >> I'll start bootstrapping in 10 seconds. Press CTRL-C now to abort" >> > > Imho the best is to prompt only if not on a tty, otherwise fail, except if a > environment variable is set. > > regards, > Bapt > Maybe an ENV variable to auto confirm the prompt too? I'm thinking about scripts using pkg to bootstrap an entire system install. Maybe I'm on a TTY and just want it to confirm auto anyway. Bryan