Custom Daemon startup order

I am having trouble changing the startup order of a custom daemon on my OpenSUSE 11.1 system. It needs the network started before it can run correctly but it is being started before the network service is running. I’ve tried changing the script’s “Required-Start” option and even changing the number in the rc folders to be the highest and it still starts before the network and before many of the other services/daemons.

Does 11.1 ignore naming and script options? How does it determine the start order?

would you post the INIT INFO section of your script? Thanks

I’ve replaced some info with {…} due to variations between daemons.

BEGIN INIT INFO

Provides: {APP_NAME}

chkconfig: 345 85 15

Required-Start: $ALL

Required-Stop: $network

Default-Start: 3 5

Default-Stop: 0 1 2 6

Short-Description: {SHORT_DESCRIPTION}

Description: {DESCRIPTION}

Defines: PATH, {CONFIG_ENV_VAR}

config: {PATH_TO_CONFIG}

END INIT INFO

it looks like you have $network in the required stop, but not in the required start.

unless you need anything else started before your init script runs,
I reccomend changing

# Required-Start: $ALL

to

# Required-Start: $network

I had that before and it still didn’t work.