For sshd (the only relinked program at the moment), this file is created
in an extremely nasty way. It'll be better if we have a proper clean
install.sh script, which I've built for sshd. But let's first commit the
change to /etc/rc which will handle that in the near future.
ok djm
-# $OpenBSD: rc,v 1.572 2023/10/01 20:15:23 naddy Exp $
+# $OpenBSD: rc,v 1.573 2024/03/30 07:35:01 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
if [[ -f $_bint ]]; then
echo " $_binn"
tar xf $_bint
- make -f Makefile.relink relink >/dev/null 2>&1
+ if [[ -f install.sh ]]; then
+ sh install.sh >/dev/null 2>&1
+ else
+ make -f Makefile.relink relink >/dev/null 2>&1
+ fi
fi
) || { _error=true; break; }
done