summaryrefslogtreecommitdiffstats
path: root/usr.sbin/periodic/periodic.sh
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>1999-01-01 17:37:33 +0000
committerbillf <billf@FreeBSD.org>1999-01-01 17:37:33 +0000
commita81a07d54fda900f2f52ffa449a08d552f42a403 (patch)
tree2330e80ef4e40130573aec063e987bf5834906c6 /usr.sbin/periodic/periodic.sh
parent73e4a133fff6cf238d3f7e334caa356fb22c207e (diff)
downloadFreeBSD-src-a81a07d54fda900f2f52ffa449a08d552f42a403.zip
FreeBSD-src-a81a07d54fda900f2f52ffa449a08d552f42a403.tar.gz
Make periodic(8) and the security mailings reflect the full FQDN, as opposed
to a hostname. This will help those who keep a cluster of machines all with the same hostname but different domain names. PR: bin/9091 Submitted By: Heikki Suonsivu <hsu@clinet.fi> No Response From: -current mailing list
Diffstat (limited to 'usr.sbin/periodic/periodic.sh')
-rw-r--r--usr.sbin/periodic/periodic.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/periodic/periodic.sh b/usr.sbin/periodic/periodic.sh
index 88e6ec3..08b3c70 100644
--- a/usr.sbin/periodic/periodic.sh
+++ b/usr.sbin/periodic/periodic.sh
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: periodic.sh,v 1.5 1997/08/19 16:49:35 pst Exp $
+# $Id: periodic.sh,v 1.6 1998/12/29 22:48:54 hoek Exp $
#
# Run nightly periodic scripts
#
@@ -48,7 +48,7 @@ else
dirlist="$*"
fi
-host=`hostname -s`
+host=`hostname`
echo "Subject: $host $run run output"
# Execute each executable file in the directory list. If the x bit is not
OpenPOWER on IntegriCloud