From e06551a83e6e0b7716cf851642c180367d56e0d8 Mon Sep 17 00:00:00 2001 From: JRGTH Date: Mon, 1 May 2023 12:46:42 -0400 Subject: [PATCH] Fix sysrc path --- CHANGELOG | 1 + bastille-init | 2 +- version | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index e13cdc9..8c1f589 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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. diff --git a/bastille-init b/bastille-init index a7eb572..0bb105d 100755 --- a/bastille-init +++ b/bastille-init @@ -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 } diff --git a/version b/version index 6f18242..c442f5e 100644 --- a/version +++ b/version @@ -1 +1 @@ -1.1.21 +1.1.22