Fix for "sudo: sorry, you must have a tty to run sudo"

In general, init scripts should not use sudo themselves, but be run with
sudo explicitly