diff options
author | florian <florian@openbsd.org> | 2019-09-24 15:21:26 +0000 |
---|---|---|
committer | florian <florian@openbsd.org> | 2019-09-24 15:21:26 +0000 |
commit | 9384df7f688b711dc769f982e875b5c4dfa4864a (patch) | |
tree | 75a2148b2967b8b4f7f4219925638a89333ec382 /usr.sbin/sysupgrade | |
parent | Mouse formats don't work in copy mode so don't try to use them. (diff) | |
download | wireguard-openbsd-9384df7f688b711dc769f982e875b5c4dfa4864a.tar.xz wireguard-openbsd-9384df7f688b711dc769f982e875b5c4dfa4864a.zip |
Let sysupgrade(8) create auto_upgrade.conf file in preparation of
moving the functionality out of install.sub.
OK deraadt
Diffstat (limited to 'usr.sbin/sysupgrade')
-rw-r--r-- | usr.sbin/sysupgrade/sysupgrade.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.sbin/sysupgrade/sysupgrade.sh b/usr.sbin/sysupgrade/sysupgrade.sh index 0d7959d96ee..da977f9f20a 100644 --- a/usr.sbin/sysupgrade/sysupgrade.sh +++ b/usr.sbin/sysupgrade/sysupgrade.sh @@ -1,6 +1,6 @@ #!/bin/ksh # -# $OpenBSD: sysupgrade.sh,v 1.22 2019/06/21 16:50:26 florian Exp $ +# $OpenBSD: sysupgrade.sh,v 1.23 2019/09/24 15:21:26 florian Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback # Copyright (c) 2015 Robert Peichaer <rpe@openbsd.org> @@ -182,6 +182,13 @@ fi ${KEEP} && > keep +cat <<__EOT >/auto_upgrade.conf +Location of sets = disk +Pathname to the sets = /home/_sysupgrade/ +Set name(s) = done +Directory does not contain SHA256.sig. Continue without verification = yes +__EOT + install -F -m 700 bsd.rd /bsd.upgrade sync |