diff options
author | 2013-12-16 08:15:21 +0000 | |
---|---|---|
committer | 2013-12-16 08:15:21 +0000 | |
commit | 7282c6a006e70fc006fd71953ee6722250e55244 (patch) | |
tree | 45a3c5ded09eb59b53c61b25b44dbed1392b9921 | |
parent | In quoted macro arguments, double quotes can be quoted by doubling them. (diff) | |
download | wireguard-openbsd-7282c6a006e70fc006fd71953ee6722250e55244.tar.xz wireguard-openbsd-7282c6a006e70fc006fd71953ee6722250e55244.zip |
Change subject of install|upgrade log to match periodic maintenance
email subjects better.
ok deraadt@ rpe@
Suggested by, and "Lovely" deraadt@, "Sure" rpe@,
-rw-r--r-- | distrib/miniroot/install.sub | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 98a6fdb1bf4..8304f15e4e8 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.719 2013/12/11 23:28:01 halex Exp $ +# $OpenBSD: install.sub,v 1.720 2013/12/16 08:15:21 halex Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback @@ -2184,8 +2184,10 @@ elif [[ -z $RESPONSEFILE ]]; then sed 's/^.*
//' /ai.log >> $_lf chmod 600 $_lf _lf=${_lf#/mnt} - echo "( /usr/bin/mail -s '$action log' root < $_lf &&" \ - "rm $_lf ) >/dev/null 2>&1 &" >> /mnt/etc/rc.firsttime + cat <<__EOT >>/mnt/etc/rc.firsttime +( /usr/bin/mail -s '$(hostname) $action log' root < $_lf && + rm $_lf ) >/dev/null 2>&1 & +__EOT exec reboot else echo "failed; check /ai.log" |