Commit Graph

38 Commits

Author SHA1 Message Date
tschettervictor
b040474bf5 basic spacing fixes for help commands 2025-05-18 17:16:17 -06:00
tschettervictor
1c70cfeca5 Update config.sh 2025-05-14 20:30:05 -06:00
tschettervictor
0129506655 Update config.sh 2025-05-14 20:25:54 -06:00
tschettervictor
747c20f7b2 Update config.sh 2025-05-14 20:18:16 -06:00
tschettervictor
7d3ec6ea0e config: Fix options 2025-05-14 09:03:19 -06:00
tschettervictor
3f35a629db config: Allow setting ip[4|6].addr with out IF 2025-05-12 09:48:26 -06:00
tschettervictor
76cda4b53f fix & for subshell 2025-05-04 12:35:12 -06:00
tschettervictor
39ed1aaec6 Initial commit for subshell parallel mode 2025-05-04 12:11:16 -06:00
tschettervictor
deacd775e5 boot file to settings file change 2025-05-02 10:27:00 -06:00
tschettervictor
420d7bf638 config: Keep depend as the value to remain consistent with jail(8) 2025-05-02 08:38:45 -06:00
tschettervictor
5344eb9ba5 depend: Add support for dependant jails 2025-05-02 08:32:28 -06:00
tschettervictor
68f4aecddf finish refactor of line spacing 2025-05-01 17:39:50 -06:00
tschettervictor
8ffab02c85 line refactor clone,config,bootstrap,verify,zfs 2025-05-01 12:38:14 -06:00
tschettervictor
824ffb2980 Add \n to info _jail 2025-04-30 18:49:14 -06:00
tschettervictor
bb47671cf0 half way point 2025-04-30 11:21:41 -06:00
tschettervictor
d74ea550ff Update config.sh 2025-04-20 14:17:47 -06:00
tschettervictor
a6abd0c96e config: Allow removing config values from jail.conf 2025-04-20 14:17:46 -06:00
tschettervictor
e3dddd25e7 Merge branch 'master' into priority-add 2025-03-26 23:30:38 -06:00
tschettervictor
a5b60e2f15 config: Allow prio as well as priority 2025-03-13 06:50:59 -06:00
tschettervictor
9910ee882d config: Dont print restart message on priority or boot 2025-03-12 19:57:43 -06:00
tschettervictor
edeff6a9a1 config: Exit when no restart required+generic restart info 2025-03-12 17:04:40 -06:00
tschettervictor
cf806dab59 config: Allow getting priority and boot config 2025-03-12 16:30:32 -06:00
tschettervictor
aeab811b58 config: Allow setting priority and boot options 2025-03-12 15:49:44 -06:00
tschettervictor
454288b2b1 bastille: Load config only from commons.sh
Since all files source common.sh anyway, we don't want to source the config twice.
2025-03-02 11:23:35 -07:00
tschettervictor
6ba11dc762 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.
2025-03-01 18:48:14 -07:00
tschettervictor
d387166b9f config: Implement new functions 2025-02-23 11:40:38 -07:00
Juan David Hurtado G
8b0411c111 Add SPDX license identifiers and update copyright years
Added SPDX-License-Identifier to all scripts for better license clarity and compliance. Updated the copyright years from 2024 to 2025 in various files to reflect the current maintenance period.
2025-01-11 14:07:41 -05:00
Bram
ba82767cad config: Correctly match valueless parameters. Fixes #693 2025-01-06 12:20:37 +01:00
Juan David Hurtado G
7dbe1e761b rel: update copyright year and release version 2024-11-24 09:46:09 -05:00
Christer Edwards
4efcc5021c update copyright dates 2023-07-14 21:02:14 -06:00
Lars Engels
64c3b6045e Allow running bastille and subcomands with help flags as regular user 2023-03-16 20:58:11 +01:00
Andrew Stevenson
a4ac5e961f Make parsing on jail.conf more robust
jail.conf has a few tricky things about it's format (such as supporting
variable expansion) so it is easiest to get jail to do the parsing for us.

The changes to get required changes to set as well as we no longer are calling
grep so that became a single awk script as well.
2022-07-24 10:27:54 +00:00
Christer Edwards
aafc2b3323 0.9.20220216 release 2022-02-16 23:28:09 -07:00
JRGTH
e564d50b2c Code review/cleanup routine 2021-07-14 13:57:09 -04:00
Christer Edwards
6fa744bbda update 2021 copyright 2021-01-15 20:00:26 -07:00
Chris Wells
7675286cd3 Fix grep when UTF-8 is not used.
Support tabs and spaces in templates/config.
2020-12-12 19:17:20 -05:00
Chris Wells
54f6ef62cd Properly escape config property and value. 2020-12-11 18:27:58 -05:00
Chris Wells
4c9f1aca25 Add 'config' command to get/set jail config properties. 2020-11-28 12:09:56 -05:00