Fix sysrc path

This commit is contained in:
JRGTH
2023-05-01 12:46:42 -04:00
parent 88b2afffc1
commit e06551a83e
3 changed files with 3 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
======================
Version Description
1.1.22......Fix sysrc path.
1.1.21......Fix HARDENEDBSD url.
1.1.20......Update: Add support for 13.2, update config file.
1.1.19......Code changes, some PHP8.x warning fixes.

View File

@@ -1254,7 +1254,7 @@ update_config()
fi
# Update the bootstrap urls accordingly.
if ! sysrc -n bastille_url_hardenedbsd | grep -q "${URL_HARDENEDBSD}"; then
if ! sysrc -f ${BASTILLECONF} -n bastille_url_hardenedbsd | grep -q "${URL_HARDENEDBSD}"; then
sysrc -f ${BASTILLECONF} bastille_url_hardenedbsd="${URL_HARDENEDBSD}"
fi
}

View File

@@ -1 +1 @@
1.1.21
1.1.22