Add read only loop disk attach alias command.

Add rsyncd protected folder override unit drop in.
Add sign-grub script trigger for systemd sleep.
This commit is contained in:
Captain ALM 2024-09-14 16:36:28 +01:00
parent a94f105048
commit 0e6f6e0e0d
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1
2 changed files with 5 additions and 0 deletions

View File

@ -236,6 +236,9 @@ function apt-search-installed() {
function attach-raw-img() { function attach-raw-img() {
sudo udisksctl loop-setup -f "$1"; sudo udisksctl loop-setup -f "$1";
} }
function attach-raw-img-ro() {
sudo udisksctl loop-setup -f "$1" -r;
}
function dettach-raw-img() { function dettach-raw-img() {
sudo udisksctl loop-delete -b "$1"; sudo udisksctl loop-delete -b "$1";
} }

View File

@ -0,0 +1,2 @@
[Service]
ProtectSystem=off