mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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)
This commit is contained in:
parent
c1cee2f62b
commit
4d4f8bc429
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue