bastille: Support user based config

This PR will allow bastille to be configured based on the user you run as.

To load the config for a specifig user, you must be logged in as the specified user, and there must be a file called "bastille_user.conf" inside /usr/local/etc/bastille or else bastille will just load the default config file.
This commit is contained in:
tschettervictor
2025-03-01 18:48:14 -07:00
parent b614efd3ac
commit 6ba11dc762
36 changed files with 47 additions and 41 deletions

View File

@@ -31,7 +31,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
. /usr/local/share/bastille/common.sh
. /usr/local/etc/bastille/bastille.conf
load_config
usage() {
# Build an independent usage for the create command