I just make a quick diff from the original /etc/init.d/asterisk file and your script (it is easier to see differences).
-- /etc/init.d/asterisk cannot start because of permissions https://launchpad.net/bugs/57572 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs