diff --git a/path/wdvn-chroot b/path/wdvn-chroot index 29a6651..47fda0f 100755 --- a/path/wdvn-chroot +++ b/path/wdvn-chroot @@ -3,6 +3,7 @@ set -e mount -o bind "/dev" "$1/dev" mount -o bind "/dev/pts" "$1/dev/pts" + mount -o bind "/sys" "$1/sys" mount -t proc none "$1/proc" chroot "$1" ${@:2} ) diff --git a/path/wdvn-chroot-end b/path/wdvn-chroot-end index 9ba4957..9f7c139 100755 --- a/path/wdvn-chroot-end +++ b/path/wdvn-chroot-end @@ -1,4 +1,5 @@ #!/bin/bash umount -l "$1/proc" +umount -l "$1/sys" umount -l "$1/dev/pts" umount -l "$1/dev" \ No newline at end of file