This commit is contained in:
Marc Beninca 2024-11-13 11:34:59 +01:00
parent 39fdabd885
commit a6e63a6722
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
4 changed files with 17 additions and 21 deletions

View file

@ -20,7 +20,6 @@ urc() {
done done
} }
mmc() { mmc() {
local container="${1}" local container="${1}"
mount --bind "/deb" "overlay/mount/var/lib/lxc/${container}/squashfs-root/deb" mount --bind "/deb" "overlay/mount/var/lib/lxc/${container}/squashfs-root/deb"

View file

@ -33,7 +33,6 @@ uo() {
rmdir "overlay" rmdir "overlay"
} }
mr() { mr() {
local f local f
for f in "dev" "dev/pts" "proc" "sys"; do for f in "dev" "dev/pts" "proc" "sys"; do
@ -59,7 +58,6 @@ ur() {
done done
} }
mm() { mm() {
mount --make-rslave --rbind "/deb" "overlay/mount/deb" mount --make-rslave --rbind "/deb" "overlay/mount/deb"
} }
@ -68,7 +66,6 @@ um() {
umount --recursive "overlay/mount/deb" umount --recursive "overlay/mount/deb"
} }
ms() { ms() {
local directory="${1}" local directory="${1}"
local level="${2}" local level="${2}"