diff options
Diffstat (limited to 'distrib')
-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" |