Commit Graph

61 Commits

Author SHA1 Message Date
tschettervictor
48d6e34808 Update mount.sh 2025-05-08 18:34:21 -06:00
tschettervictor
c9a67d21a6 mount: zfs create dir if not exist 2025-05-08 18:33:23 -06:00
tschettervictor
63f11f1e87 mount: Allow zfs mounting 2025-05-08 18:19:09 -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
68f4aecddf finish refactor of line spacing 2025-05-01 17:39:50 -06:00
tschettervictor
824ffb2980 Add \n to info _jail 2025-04-30 18:49:14 -06:00
tschettervictor
2b5f239050 final run through 2025-04-30 13:39:05 -06:00
tschettervictor
bef2ece965 adjust blank line option 2025-04-30 08:19:50 -06:00
tschettervictor
b73639d8b6 rework blank lines again 2025-04-29 21:58:15 -06:00
tschettervictor
046cf87e79 rework blank line 2025-04-29 21:51:24 -06:00
tschettervictor
310258f4b4 set _LAST_JAIL in common 2025-04-29 21:08:08 -06:00
tschettervictor
7974eb7429 only set _last_jail once 2025-04-29 20:53:27 -06:00
tschettervictor
feaf8c792b print blank line after last jail 2025-04-29 20:48:11 -06:00
tschettervictor
f423446370 add blank line after each jail on multiple targets 2025-04-29 18:54:34 -06:00
tschettervictor
963dbe09c9 mount: Create host path if it doesn’t exist 2025-04-23 19:58:09 -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
8b6e5338f1 mount: Fix var 2025-02-03 11:20:35 -07:00
tschettervictor
1348452afa mount: Add auto-mode/debug mode 2025-01-28 11:09:09 -07:00
tschettervictor
f0072cebbd mount: Do not show debug as an option 2025-01-20 18:53:04 -07:00
tschettervictor
dee9ab0865 mount: Remove debug option for later addition 2025-01-20 18:52:16 -07:00
tschettervictor
c790e65f13 mount: Call usage on unknown option 2025-01-20 18:42:39 -07:00
tschettervictor
90777ca37e mount: Stay consistent with "Unknown Option." 2025-01-20 18:38:47 -07:00
tschettervictor
c27f0a7408 mount: Add options block to notify message 2025-01-20 18:36:54 -07:00
tschettervictor
391abe2335 mount: just change "must start with" to "must include" for documentation 2025-01-20 18:32:35 -07:00
tschettervictor
caee31a621 mount: Spacing 2025-01-20 18:30:23 -07:00
tschettervictor
0bf87b1980 mount: Add debug mode 2025-01-20 18:28:33 -07:00
tschettervictor
f994df3bad mount: Revert [] > () 2025-01-18 07:51:00 -07:00
tschettervictor
e1a2ed1b6b mount: Fix () > [] 2025-01-18 07:39:42 -07:00
tschettervictor
bbb1555ecc mount: Fix similar path mount grep 2025-01-18 07:33:00 -07:00
tschettervictor
03214c4f0a Merge branch 'master' into patch-2 2025-01-17 22:18:03 -07:00
tschettervictor
ee0b8b8f96 mount: fix perms check 2025-01-17 08:11:58 -07:00
Matthias Petermann
ce0ab9d364 Commit fb71f0d introduced to possibility to add options behind permissions
in fstab. Unfortunately it breaks scenarios where no options are provided
as the current regex expects the comma with the options always to be present.

This patch fixes the regex to handle the options as group.
2025-01-17 09:58:23 +01:00
tschettervictor
e33dd04ad1 mount: Docs, one more typo "on > one" 2025-01-11 12:10:27 -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
753c537e52 mount: allow [ro|rw|rq|sw|xx] as available mount options 2025-01-11 12:06:30 -07:00
tschettervictor
fb71f0dda5 mount: allow mount with options behind permissions
Allow mounting with permissions like “rw,other,options” that are needed for tmpfs mounting.
2025-01-10 15:22:31 -07:00
tschettervictor
a3d96003b8 mount: change " -gt 6" > "-gt 7" 2025-01-10 10:22:31 -07:00
tschettervictor
9d7b727432 minor fix 2024-12-31 12:27:32 -07:00
tschettervictor
67185a5a42 fix for multiple spacing in directiry 2024-12-27 13:33:26 -07:00
tschettervictor
30aa0c1408 better error handling 2024-12-27 12:13:38 -07:00
tschettervictor
d2dc83d320 bugfixes and code cleanup 2024-12-23 18:21:09 -07: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
7bad37c250 shellcheck: export, mount. Logic syntax 2024-12-10 14:14:07 -05:00
Juan David Hurtado G
7927385458 [WIP] shellcheck linting 2024-12-08 21:34:36 -05:00
Juan David Hurtado G
7e6a9fa896 [WIP] shellcheck linting 2024-12-08 20:37:02 -05: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