diff options
author | Robert Peichaer <rpe@cvs.openbsd.org> | 2014-11-11 21:31:30 +0000 |
---|---|---|
committer | Robert Peichaer <rpe@cvs.openbsd.org> | 2014-11-11 21:31:30 +0000 |
commit | b6a8b134bb2c2b0b34196644e26726497a3ca6c0 (patch) | |
tree | b67949090109b47eea8cbe5e8882d2cff460e0ab /distrib/miniroot | |
parent | 406ce3ff59a43d0a9a8aec91bb8314cc000bfe6e (diff) |
Store autoinstaller logfile in /mnt/var/log to be available after
reboot and to cope with an upcoming change to /var/tmp.
Noted by and OK halex@
OK deraadt@
Diffstat (limited to 'distrib/miniroot')
-rw-r--r-- | distrib/miniroot/install.sub | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 97b7612e0b8..7d356233bb2 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.797 2014/10/26 23:31:00 krw Exp $ +# $OpenBSD: install.sub,v 1.798 2014/11/11 21:31:29 rpe Exp $ # # Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback # All rights reserved. @@ -2178,7 +2178,7 @@ elif [[ -z $respfile ]]; then if [[ -f /ai.done ]]; then # Generate unique filename and let rc.firsttime feed it to # whatever mail system we have at hand by then. - while _lf=/mnt/var/tmp/ai.log.$RANDOM && test -e $_lf; do done + while _lf=/mnt/var/log/ai.log.$RANDOM && test -e $_lf; do done cp /ai.log $_lf chmod 600 $_lf _lf=${_lf#/mnt} |