Date: Mon, 4 Jan 2016 18:55:29 +0100 From: Jilles Tjoelker <jilles@stack.nl> To: Warner Losh <imp@bsdimp.com> Cc: Colin Percival <cperciva@tarsnap.com>, Warner Losh <imp@freebsd.org>, src-committers <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r293115 - head/etc Message-ID: <20160104175529.GA10000@stack.nl> In-Reply-To: <CANCZdfr=Cffp5N-Q1o2UtNhVvLtOVLZnqh3yzBh3=mX=rzsu0w@mail.gmail.com> References: <201601031918.u03JImBs012182@repo.freebsd.org> <000001520d9553a7-b3ef495a-89d6-44ec-91c1-c4f9afc2c55b-000000@email.amazonses.com> <CANCZdfr=Cffp5N-Q1o2UtNhVvLtOVLZnqh3yzBh3=mX=rzsu0w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 04, 2016 at 10:09:00AM -0700, Warner Losh wrote: > On Mon, Jan 4, 2016 at 10:00 AM, Colin Percival <cperciva@tarsnap.com> > wrote: > > On 01/03/16 11:18, Warner Losh wrote: > > > Log: > > > Use /bin/rm to remove /firstboot*. Otherwise rm -i alias is picked > > > up and can cause issues on boot with the prompts. > > Huh, I never realized that could be a problem. > It can, but it was a false positive here. /bin/sh always sources them, > so if you'd added an alias, it would be hit here. A non-interactive non-login sh does not source any startup files. Login shells source /etc/profile and ~/.profile and interactive shells source the file whose name is in the ENV environment variable. The prompt comes from trying to remove an existing file which is not writable. It can be suppressed by using rm -f instead of rm. -- Jilles Tjoelker
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160104175529.GA10000>