I'm not able to get a native perl script to run under RHEL 5.x in the /etc/init.d section.
Specifically, we're trying to get certain information logged when the system shuts down.
(yes, it's checked in with chkconfig)
What I suspect I must do is wrap the init.d script in /bin/sh then have it call the bash script during shutdown.
I'm just trying to confirm this limitation... can someone comment?
Thanks.
Specifically, we're trying to get certain information logged when the system shuts down.
(yes, it's checked in with chkconfig)
What I suspect I must do is wrap the init.d script in /bin/sh then have it call the bash script during shutdown.
I'm just trying to confirm this limitation... can someone comment?
Thanks.