mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
bsdinstall: Also copy /var/db/zoneinfo
Per tzsetup(8), /etc/localtime and /var/db/zoneinfo go hand in hand. Reviewed by: imp@ Pull Request: https://github.com/freebsd/freebsd-src/pull/486
This commit is contained in:
parent
91604330e6
commit
6ce785c50b
1 changed files with 1 additions and 0 deletions
|
|
@ -137,6 +137,7 @@ trap error SIGINT # SIGINT is bad again
|
|||
bsdinstall config || error "Failed to save config"
|
||||
cp /etc/resolv.conf $1/etc
|
||||
cp /etc/localtime $1/etc
|
||||
cp /var/db/zoneinfo $1/var/db
|
||||
|
||||
# Run post-install script
|
||||
if [ -f $TMPDIR/bsdinstall-installscript-ab ]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue