Umm,  I thought the init scripts were fired with sh/bash rather than perl.  sh a script starting with #!/usr/bin/perl will just give an error anyway.  I think you're gonna have to change your script to bash.

-swf

--
"It's kind of fun to do the impossible."   - Walt Disney
Key Fingerprint = 6FB4 A47C 793F 55C4 E2A7  6626 CC49 424A 155C AAD3
> I am trying to get mrtg and apache to start automatically. I have been
> through the docs, and feel I have done things right, but obviously something
> is wrong.
> 
> mrtg:
> 
> I created a script  called mrtg that launches 17 different configs. It is
> located in /ect/rc.d/init.d . I also created a symbolic link to the mrtg
> script in /etc/rc3.d named S65mrtg.
> 
> It is my understanding this should launch mrtg at boot, but it doesn't. If I
> do a "perl S65mrtg" it fires of.
> 
> I also have about the same problem with apache.
> 
> Any advice would be appreciated.
> 
> This is running on RedHat 7.1 in case that matters.
> 
> 
> Raymond
> 
> _______________________________________________
> Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, Minnesota
> http://www.mn-linux.org
> tclug-list at mn-linux.org
> https://mailman.mn-linux.org/mailman/listinfo/tclug-list