K
Kafer
Hi all,
I am very new to Perl, so please bear with my lack of experience here. I am
in the process of writing a couple of short Perl scripts to handle some
automated backup procedures to be shipped to some of our customer sites. We
are running Solaris 8 / SPARC, and would like our script to change from
runlevel 3 to runlevel S before executing any code, effectively we want to
issue an "init S" (prompting for root password is ok), then execute our
code.
I can do the init S bit via:
exec init => 'S';
.... but of course the script effectively dies at that point. Any ideas? I
don't mind reading if someone knows a how-to or good cookbook site.
Thanks in advance.
I am very new to Perl, so please bear with my lack of experience here. I am
in the process of writing a couple of short Perl scripts to handle some
automated backup procedures to be shipped to some of our customer sites. We
are running Solaris 8 / SPARC, and would like our script to change from
runlevel 3 to runlevel S before executing any code, effectively we want to
issue an "init S" (prompting for root password is ok), then execute our
code.
I can do the init S bit via:
exec init => 'S';
.... but of course the script effectively dies at that point. Any ideas? I
don't mind reading if someone knows a how-to or good cookbook site.
Thanks in advance.