Date: Wed, 16 Jul 2014 21:48:47 +0200 From: Mateusz Guzik <mjguzik@gmail.com> To: Devin Teske <dteske@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r268773 - head/usr.sbin/service Message-ID: <20140716194847.GA23168@dft-labs.eu> In-Reply-To: <201407161902.s6GJ2VMG048945@svn.freebsd.org> References: <201407161902.s6GJ2VMG048945@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 16, 2014 at 07:02:31PM +0000, Devin Teske wrote: > Author: dteske > Date: Wed Jul 16 19:02:30 2014 > New Revision: 268773 > URL: http://svnweb.freebsd.org/changeset/base/268773 > > Log: > Revert previous revision (r268461) for reasons documented in PR. > To use tmux in an rc.d script, use the new-session flag "-d". > To use screen in an rc.d script, use the "-dm" flag. > If you really need to launch an attached session, manually > export TERM=xterm (FreeBSD 9.0 or higher) or export TERM=cons25 > for older releases. > > Reported by: bdrewery > Discussed on: src-committers, svn-src-all, svn-src-head > PR: bin/191869 > > Modified: > head/usr.sbin/service/service.sh > > Modified: head/usr.sbin/service/service.sh > ============================================================================== > --- head/usr.sbin/service/service.sh Wed Jul 16 18:52:21 2014 (r268772) > +++ head/usr.sbin/service/service.sh Wed Jul 16 19:02:30 2014 (r268773) > @@ -139,7 +139,7 @@ cd / > for dir in /etc/rc.d $local_startup; do > if [ -x "$dir/$script" ]; then > [ -n "$VERBOSE" ] && echo "$script is located in $dir" > - exec env -i HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin TERM="$TERM" $dir/$script $* > + exec env -i HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin $dir/$script $* > fi > done > > Thank you. -- Mateusz Guzik <mjguzik gmail.com>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140716194847.GA23168>