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:
parent
a94f105048
commit
0e6f6e0e0d
@ -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";
|
||||||
}
|
}
|
||||||
|
2
systemd-system/rsync.service.d/override.conf
Normal file
2
systemd-system/rsync.service.d/override.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[Service]
|
||||||
|
ProtectSystem=off
|
Loading…
Reference in New Issue
Block a user