diff options
author | fenner <fenner@FreeBSD.org> | 1997-08-11 04:06:49 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1997-08-11 04:06:49 +0000 |
commit | 592cfec5fa8136931653e0631802fecbd5042d23 (patch) | |
tree | cb39fe7a4c1523f998329ac925edffe841e00ae1 /etc/namedb/make-localhost | |
parent | 6f3a8cdf6405ebf69b9330b5f17454a964f1726c (diff) | |
download | FreeBSD-src-592cfec5fa8136931653e0631802fecbd5042d23.zip FreeBSD-src-592cfec5fa8136931653e0631802fecbd5042d23.tar.gz |
Make "make-localhost" Y2K safe by using "date +%Y" instead of "date +%y"
to pick the serial number.
PR: misc/3465
Submitted by: sjr1@flash.net (Stephen J. Roznowski)
Diffstat (limited to 'etc/namedb/make-localhost')
-rwxr-xr-x | etc/namedb/make-localhost | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/namedb/make-localhost b/etc/namedb/make-localhost index e321da6..72bc92e 100755 --- a/etc/namedb/make-localhost +++ b/etc/namedb/make-localhost @@ -25,7 +25,7 @@ else fullhost="$host.$domain" fi -date=`date +"%y%m%d"` +date=`date +"%Y%m%d"` mv -f localhost.rev localhost.rev.BAK 2>/dev/null |