summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2024-05-17 00:33:44 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2024-05-17 00:33:44 +0000
commit38b51cd68d16fb9e6ed1d54fdbdbfb2309b1ff42 (patch)
tree5fc26f015bfecae0d94deb3535b0b977e317e1ee /etc/rc
parenta5ea6e16bb03fb68812e648ab136c5721b703235 (diff)
run the sshd-session link kit also
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 5ee9dcf8e17..537a2345dda 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.574 2024/04/02 08:21:04 deraadt Exp $
+# $OpenBSD: rc,v 1.575 2024/05/17 00:33:43 deraadt Exp $
# System startup script run by init on autoboot or after single-user.
# Output and error are redirected to console by init, and the console is the
@@ -241,7 +241,8 @@ reorder_libs() {
) || { _error=true; break; }
done
- for _bin in $_relink/usr/sbin/sshd $_relink/usr/bin/ssh-agent ; do
+ for _bin in $_relink/usr/sbin/sshd $_relink/usr/libexec/sshd-session \
+ $_relink/usr/bin/ssh-agent ; do
_tmpdir=$(mktemp -dq $_relink/_rebuild.XXXXXXXXXXXX) &&
(
set -o errexit