%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/snap/lxd/current/wrappers/
Upload File :
Create Path :
Current File : //proc/self/root/snap/lxd/current/wrappers/run-host

#!/bin/sh
CMD="$(basename "${0}")"

unset LD_LIBRARY_PATH
unset PYTHONPATH
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

if [ "$(id -u)" = "0" ]; then
    exec nsenter -t 1 -m "${CMD}" "$@"
fi

exec unshare -U -r chroot "/var/lib/snapd/hostfs/" "${CMD}" "$@"

Zerion Mini Shell 1.0