I hereby claim:
- I am e5ten on github.
- I am e5ten (https://keybase.io/e5ten) on keybase.
- I have a public key whose fingerprint is 82A8 5828 0A08 CD85 FF95 3B21 F58C 938F 964F 3782
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
[[ ! "$(id -u)" = "0" ]] && echo "This script must be ran as root!" && exit 1 | |
CHROOTDIR="$(readlink -f $1)"; shift | |
# Functions | |
mount_dirs() { | |
! mount | grep "$CHROOTDIR$1" &>/dev/null && mount --bind "$1" "$CHROOTDIR$1" | |
} |