Commit Graph

12 Commits

Author SHA1 Message Date
Leonid Pliushch
287d50889a
termux-tools: add login hook for running commands before shell is launched 2021-10-13 14:09:24 +03:00
agnostic-apollo
d1a911b9ac Add deprecation and future disabling of playstore builds warning to banner 2021-09-09 04:25:48 +05:00
Leonid Pliushch
6fb2bb2fbf termux-tools: avoid busybox usage 2020-03-30 15:15:59 +03:00
Leonid Pliushch
ccb9ab922a termux-tools: use @TERMUX_PREFIX@ instead of path in sources
Ensure that scripts always use correct prefix-specific path.
2019-09-20 00:16:26 +03:00
Leonid Pliushch
51cdbe0073 termux-tools: use default shebang in sources
This will allow build system to set shebang according to the
current TERMUX_PREFIX.
2019-09-19 23:41:31 +03:00
Leonid Pliushch
4d3a6658d4 termux-tools: do not print motd on OpenSSH login when config PrintMotd=no
Now OpenSSH will not print motd on its own which may result in duplicate.
Instead it will control the login script via environment variable.

Fixes https://github.com/termux/termux-packages/issues/3941.
2019-09-06 01:59:07 +03:00
Leonid Pliushch
5d29da3dc6 termux-tools: do not start login shell if not running on terminal
Fixes execution of commands via non-interactive shell with OpenSSH.
Issue https://github.com/termux/termux-packages/issues/3620.
2019-04-04 12:50:54 +03:00
Leonid Pliushch
01e27ce4f8 termux-tools: export SHELL variable on login (#2632) 2018-07-14 00:02:50 +02:00
its-pointless
4c95eb0d93 termux-tools: Work around for when termux-exec is broken 2018-02-21 00:08:15 +01:00
Fredrik Fornwall
81604d724b termux-tools: Make bin/login handle arguments
As we now use bin/login even from e.g. sshd we need to handle
arguments by forwarding it to the login shell and not displaying
a motd in that case. Fixes #1529.
2017-09-17 22:43:03 +02:00
Fredrik Fornwall
3674c3b3db termux-exec: Add package 2017-09-17 16:12:20 +02:00
Fredrik Fornwall
94d42ba267 termux-tools: Add a login program 2017-02-12 21:01:01 +01:00