[CentOS] init script question

Fri Dec 12 16:11:21 UTC 2008
Phil Schaffner <Philip.R.Schaffner at NASA.gov>

Jacques B. wrote:
...
> 
> Do you mean like $0?  That gives you the current script name.

Or better yet

basename $0

if you want the name of the script and not the full path.

Phil