mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 14:03:18 -07:00
* === added directory etc/profile.d, etc/byobu/Makefile.am,
etc/profile.d/Makefile.am, etc/profile.d/Z97-byobu.sh, Makefile.am: - LP: #586546 - Enable any user to remotely opt into launching byobu by default, using an LC_BYOBU=1 environment variable, which is transmitted over SSH
This commit is contained in:
parent
4bfb064aec
commit
134e8b38fe
5 changed files with 39 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
SUBDIRS = etc/byobu \
|
||||
etc/profile.d \
|
||||
usr/share/applications \
|
||||
usr/share/byobu/ec2 \
|
||||
usr/share/byobu/keybindings \
|
||||
|
|
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -2,6 +2,12 @@ byobu (4.46) unreleased; urgency=low
|
|||
|
||||
* debian/control: LP: #887344
|
||||
- promote tmux to a 'recommends'; will 'depend' on it soon
|
||||
* === added directory etc/profile.d, etc/byobu/Makefile.am,
|
||||
etc/profile.d/Makefile.am, etc/profile.d/Z97-byobu.sh, Makefile.am:
|
||||
- LP: #586546
|
||||
- Enable any user to remotely opt into launching byobu by default,
|
||||
using an LC_BYOBU=1 environment variable, which is transmitted over
|
||||
SSH
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 31 Oct 2011 09:46:46 -0400
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
etcdir = $(datadir)/@PACKAGE@/profiles
|
||||
etc_DATA = socketdir
|
||||
etcdir = $(datadir)/@PACKAGE@/
|
||||
etc_DATA = backend socketdir
|
||||
|
|
2
etc/profile.d/Makefile.am
Normal file
2
etc/profile.d/Makefile.am
Normal file
|
@ -0,0 +1,2 @@
|
|||
etcdir = $(datadir)/@PACKAGE@/profile.d
|
||||
etc_DATA = Z97-byobu.sh
|
28
etc/profile.d/Z97-byobu.sh
Executable file
28
etc/profile.d/Z97-byobu.sh
Executable file
|
@ -0,0 +1,28 @@
|
|||
#!/bin/sh
|
||||
# Z97-byobu.sh - allow any user to opt into auto-launching byobu
|
||||
# Copyright (C) 2011 Canonical Ltd.
|
||||
#
|
||||
# Authors: Dustin Kirkland <kirkland@ubuntu.com>
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, version 3 of the License.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# Allow any user to opt into auto-launching byobu by setting LC_BYOBU=1
|
||||
# Apologies for borrowing the LC_BYOBU namespace, but:
|
||||
# a) it's reasonable to assume that no one else is using LC_BYOBU
|
||||
# b) LC_* is sent and receieved by most /etc/ssh/ssh*_config
|
||||
if [ "$LC_BYOBU" = "1" ] && [ -r "/usr/bin/byobu-launch" ]; then
|
||||
. /usr/bin/byobu-launch
|
||||
fi
|
||||
true
|
||||
|
||||
# vi: syntax=sh ts=4 noexpandtab
|
Loading…
Add table
Add a link
Reference in a new issue