I changed the line PATH=/sbin:/usr/sbin:$PATH to export PATH=/sbin:/usr/sbin:$PATH
and now it works.
For some reason the PATH variable was not passed to the dispatcher.
I changed the line /usr/sbin: $PATH /usr/sbin: $PATH
PATH=/sbin:
to
export PATH=/sbin:
and now it works.
For some reason the PATH variable was not passed to the dispatcher.