Re: Where does HP-UX keep auto startup scripts. Thanks for your replies. This helps me alot.
Regards
Lee
JohnK wrote:
> On Mon, 28 Aug 2006 21:42:09 -0700, Lee wrote:
>
> > Thank you .
> >
> > I have had a look in this directory but there is nothing listed which
> > looks like postgres.
>
> The actual scripts are held in /sbin/init.d but they are run from links in
> the level directories.. /sbin/rc2.d, /sbin/rc3.d etc. Some scripts look
> for a flag in a config file in /etc/rc.config.d directory to determine if
> they should run or not. If Postgres doesn't have a file there then you
> should remove or rename the links in the level directories. To find them
> run this -
>
> find /sbin -name "[SK]*postgres"
>
> and remove or rename the scripts found. If you are
> renaming them then prefixing them with off (off.S70postgres) will stop
> them from running. Leave the script located in /sbin/init.d. You might
> want to run it another time.
>
> JohnK |