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
18a6fecad5
top: remove trailing ;;
2025-01-11 15:40:32 -07:00
tschettervictor
5409d8eab3
top: add auto mode
2025-01-11 15:38:17 -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
tschettervictor
9b354c1a2f
minor tweak
2024-12-27 08:18:33 -07:00
tschettervictor
d293db2c54
move help into options block
2024-12-24 07:39:26 -07:00
tschettervictor
0413a94896
spacing
2024-12-21 21:45:27 -07:00
tschettervictor
5913fcc689
Update top.sh
2024-12-20 22:41:18 -07:00
tschettervictor
200321cf9b
error handling
2024-12-19 16:59:41 -07:00
tschettervictor
0d9a793ed9
Update top.sh
2024-12-16 19:21:17 -07:00
tschettervictor
1b23c044de
Update top.sh
2024-12-16 19:19:20 -07:00
tschettervictor
bff6b936f8
Update top.sh
2024-12-16 19:13:50 -07:00
tschettervictor
42a6a29b8e
only accept one target for top
2024-12-16 19:05:35 -07:00
tschettervictor
6d2e9c2ec9
also source config file
2024-12-16 12:49:11 -07:00
tschettervictor
fe029c0344
exit if no args
2024-12-16 12:48:09 -07:00
tschettervictor
3c927338c8
Update top.sh
2024-12-16 12:29:09 -07:00
tschettervictor
e0dfc33e46
move jail running check to for loop
2024-12-16 12:26:46 -07:00
tschettervictor
5bc7cd8c73
begin function define in top
2024-12-16 12:24:46 -07: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
Christer Edwards
aafc2b3323
0.9.20220216 release
2022-02-16 23:28:09 -07:00
Christer Edwards
6fa744bbda
update 2021 copyright
2021-01-15 20:00:26 -07:00
Chris Wells
8b4d18f8f3
Create info() and warn() for cleaner print statements.
2020-11-25 21:19:08 -05:00
Chris Wells
c6aded8d0a
Ensure target is specified and exists in 1 place instead of many.
...
Require target to be running for commands that need it.
Closes #239 .
2020-08-30 20:15:22 -04:00
Chris Wells
aaffc882f9
Create and leverage global error functions
2020-08-30 10:57:14 -04:00
Marius van Witzenburg
f28054b47e
Cleanup whitespace
2020-04-14 11:53:11 +02:00
Jose
01eaccc1da
Add double quotes to prevent globbing/word splitting, general code consistency improvements
2020-02-20 18:06:31 -04:00
Jose
498029a13c
Code improvements, use awk for exact match
2020-02-05 07:00:11 -04:00
Christer Edwards
8b9760b0a5
initial support for limits automation; updated copyright year
2020-01-26 09:51:02 -07:00
Christer Edwards
a14d9cffdd
updating Usage output and standardizing target variable
2019-11-22 22:05:53 -07:00
Christer Edwards
47a3003f41
update for 0.5.20191125
2019-11-21 16:49:00 -07:00
Christer Edwards
e2b4f84cfe
update copyright; fixes #28
2019-02-04 21:08:00 -07:00
Christer Edwards
c98229066d
0.3.20181124 patch
2018-11-24 09:55:16 -07:00
Christer Edwards
7700b9beff
0.3.20181112 template support
2018-11-13 10:38:33 -07:00