On Mon, Jan 04, 2016 at 10:09:00AM -0700, Warner Losh wrote: > On Mon, Jan 4, 2016 at 10:00 AM, Colin Percival <cperc...@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 _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"