Commit Graph

893 Commits

Author SHA1 Message Date
tschettervictor
1b23c044de Update top.sh 2024-12-16 19:19:20 -07:00
tschettervictor
ac30b36b57 only set target with set_target_single 2024-12-16 19:18:24 -07:00
tschettervictor
1bcd44cbb3 add set_target_single function to only allow single jail targetting 2024-12-16 19:16:49 -07:00
tschettervictor
bff6b936f8 Update top.sh 2024-12-16 19:13:50 -07:00
tschettervictor
b22532078f accept only one arg with htop 2024-12-16 19:12:34 -07:00
tschettervictor
9e8cd7bec5 accept only one arg on htop 2024-12-16 19:08:26 -07:00
tschettervictor
42a6a29b8e only accept one target for top 2024-12-16 19:05:35 -07:00
tschettervictor
0874e02f18 Update common.sh 2024-12-16 17:50:35 -07:00
tschettervictor
0ddd4d98cf Fox vars 2024-12-16 17:48:21 -07:00
tschettervictor
31cc087ef3 Add set_target function 2024-12-16 17:44:36 -07:00
tschettervictor
1fce1925a6 spacing 2024-12-16 16:58:41 -07:00
tschettervictor
6d2e9c2ec9 also source config file 2024-12-16 12:49:11 -07:00
tschettervictor
d2943bdf3f exit if no args 2024-12-16 12:48:23 -07:00
tschettervictor
fe029c0344 exit if no args 2024-12-16 12:48:09 -07:00
tschettervictor
538ec8159d move top and htop to no action command 2024-12-16 12:45:13 -07:00
tschettervictor
dc55881889 source config from common.sh 2024-12-16 12:44:05 -07:00
tschettervictor
3c927338c8 Update top.sh 2024-12-16 12:29:09 -07:00
tschettervictor
63314675af htop function add 2024-12-16 12:29:00 -07:00
tschettervictor
0e3f7a5c0c rename function to target 2024-12-16 12:27:07 -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
tschettervictor
e4487077c9 rename to be consistent 2024-12-16 12:19:09 -07:00
tschettervictor
e4fb6e3ca6 begin moving functions to common.sh 2024-12-16 12:18:40 -07:00
tschettervictor
b12719372c typo 2024-12-16 09:50:01 -07:00
tschettervictor
7304aa67cc Merge branch 'BastilleBSD:master' into patch-7 2024-12-16 07:25:52 -07:00
tschettervictor
f79cc609d3 Merge branch 'BastilleBSD:master' into patch-5 2024-12-16 07:25:37 -07:00
tschettervictor
80139a1c8d Merge branch 'BastilleBSD:master' into patch-1 2024-12-16 07:24:59 -07:00
tschettervictor
7169931ca0 Merge branch 'BastilleBSD:master' into fix-cmd-template 2024-12-16 07:24:40 -07:00
tschettervictor
176e36d00e Merge branch 'BastilleBSD:master' into master 2024-12-16 07:24:28 -07:00
tschettervictor
47a6ee5323 Merge branch 'master' into patch-6 2024-12-16 07:22:53 -07:00
tschettervictor
f91f24695b fix for new shell check 2024-12-16 07:02:09 -07:00
Barry McCormick
fb21ff1be3 Merge pull request #752 from michael-o/issues/688
"bastille boostrap" gives spurious and wrong warning about "bastille_…
2024-12-15 22:58:22 -08:00
Juan David Hurtado G
889308465f shellcheck: mount. Style: indication of line continuation 2024-12-15 21:06:59 -05:00
Juan David Hurtado G
78d2ae9b2c shellcheck: fix create intentional '@' and disable SC2140 2024-12-15 11:02:28 -05:00
Juan David Hurtado G
124e968b65 shellcheck: fix zfs intentional '@' and disable SC2140 2024-12-15 10:59:30 -05:00
Juan David Hurtado G
a906f14ce8 shellcheck: fix double quote on update TEMPLATES 2024-12-15 10:51:30 -05:00
Juan David Hurtado G
63964b107d shellcheck: disable=SC3003 on verify.sh 2024-12-15 09:58:05 -05:00
Juan David Hurtado G
fd175fddca shellcheck: disable=SC2046 on verify.sh pt2 2024-12-15 09:57:30 -05:00
Juan David Hurtado G
763184ad52 shellcheck: disable=SC2046 on verify.sh 2024-12-15 09:43:24 -05:00
tschettervictor
86e7d58358 Allow using template in custom directory 2024-12-10 16:48:17 -07:00
tschettervictor
108227f72e remove padding 2024-12-10 15:07:29 -07:00
tschettervictor
2a8a070251 remove "which pfctl"
We assume that if the jail has an ip4.addr value, then pfctl is obviously installed.

It is also not invoked by start, so stop should not need it either.
2024-12-10 15:04:27 -07:00
tschettervictor
42a5a38334 fix start.sh also 2024-12-10 14:59:02 -07:00
tschettervictor
aa17f5c4f9 Fix pfctl being invoked when NAT is not used + change ip var to ip4 for future ip6 implementation 2024-12-10 14:51:29 -07:00
Juan David Hurtado G
7bad37c250 shellcheck: export, mount. Logic syntax 2024-12-10 14:14:07 -05:00
tschettervictor
b16d21b018 Fix error produced by pfctl when no rules are returned 2024-12-09 20:06:28 -07:00
Juan David Hurtado G
097ad8e269 shellcheck: template, revert single quotes 2024-12-09 19:43:04 -05:00
Juan David Hurtado G
d708a3460d shellcheck: template, fix quotes 2024-12-09 07:53:56 -05:00
Juan David Hurtado G
7c000a07d8 [WIP] shellcheck linting 2024-12-08 21:37:26 -05:00
Juan David Hurtado G
7927385458 [WIP] shellcheck linting 2024-12-08 21:34:36 -05:00