I already searched everything. I didn't want to say it before but I am pretty sure it should not work the way you've coded it on maemo... This should fix it: http://maemo.org/downloads/product/Maemo5/sudser/ But you should really modify the scripts to not call sudo with every command, just run the whole thing after using sudo gainroot or rootsh.