set script name correctly when invoked via sysv-style init