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
This commit is contained in:
parent
351e92cc2d
commit
dab496863c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268773
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user