diff options
author | 2011-07-28 19:09:16 +0000 | |
---|---|---|
committer | 2011-07-28 19:09:16 +0000 | |
commit | 2452231e0e5e33088e07c67e89c59fe79ecc41a0 (patch) | |
tree | e491f917e24219e88e81261b7c5bd289a7106ffe | |
parent | Kill integer from pointer warning when compiling with MALLOC_DEBUG. (diff) | |
download | wireguard-openbsd-2452231e0e5e33088e07c67e89c59fe79ecc41a0.tar.xz wireguard-openbsd-2452231e0e5e33088e07c67e89c59fe79ecc41a0.zip |
supress empty rc.firsttime email and add hostname to the subject line
ok deraadt krw
-rw-r--r-- | etc/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.391 2011/07/20 10:00:13 halex Exp $ +# $OpenBSD: rc,v 1.392 2011/07/28 19:09:16 halex Exp $ # System startup script run by init on autoboot # or after single-user. @@ -515,7 +515,7 @@ fi if [ -f /etc/rc.firsttime ]; then mv /etc/rc.firsttime /etc/rc.firsttime.run . /etc/rc.firsttime.run 2>&1 | tee /dev/tty | - mail -s 'rc.firsttime output' root >/dev/null + mail -Es "`hostname` rc.firsttime output" root >/dev/null fi rm -f /etc/rc.firsttime.run |