ths!
add a line in /etc/rc.tcpip
--
Martin HAMANT
m...@accelance.fr
put an additionla entry in /etc/inittab.
Hartwig
>Hello:
> I want to auto-start apache when AIX boot.
>How to do?
>
In /etc/inittab we have as the last thig a line that runs
/etc/rc.local (our own script).
In rc.local we run scripts to start all our local apps. Generally call
these scripts rc.app_name and they accept a parameter of start or
stop.
If rc.app_name is run with the parameter start it runs the start
commands for the application. It gets the stop parameter it runs the
shutdown commands.
rc.local runs "rc.app_name start" to start the app.
We also have an rc.shutdown script which if it exists will be called
by the shutdown command.
In here we do "rc.app_name stop" to stop the application.
Regards,
Ted.
==============================================================
| Ted Linnell <edli...@zcslink.net.au> |
| BSc GradDipDP CNA MACS PCP |
| Nunawading, Victoria , Australia |
==============================================================