mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-06 04:34:19 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user