Codeprogrammers/codecraft-init-script — pull request #16 by Paswaru (2012-04-10 22:57:54+00:00)
Title: FIX: Issuse with reading the scriptname. Was returning the Symlink name and not the real name of the file.

Scriptname was returning the symlink file name from the rc directories, when I intended it to return the real name of the file.

So during startup it would return S50minecraft from /etc/rc2.d instead of just minecraft from /etc/init.d.