diff --git a/menhera.sh b/menhera.sh index da3ae46..52d7ad5 100755 --- a/menhera.sh +++ b/menhera.sh @@ -9,6 +9,9 @@ ROOTFS="" OLDROOT="/" NEWROOT="" +# fix possible PATH problems +export PATH="$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" + # environment compatibility __compat_restart_ssh() { if [ -x "$(command -v systemctl)" ]; then