I have a pretty simple startup script:
Code:
#! /bin/sh
#
# Author: BK
#
# /etc/init.d/queueup
#
# System startup script for Dr Queue
#
### BEGIN INIT INFO
# Provides: queueup
# Required-Start: $network $nfs $ypbind
# Required-Stop:
# Default-Start: 3 5
# Default-Stop:
# Description: Logs us into Dr Queue
### END INIT INFO
. /etc/rc.status
echo "Logging into dr queue"
su ivan -c slave
rc_exit
but when I run insserv on it, it links up in the rc dirs as S07queueup - before nfs & ypbind - and therefore does not work being that it has no idea who "ivan" is (an nis user), nor where the contents of slave are (on an nfs mount).
I tried manually changing S07 to S99, but it still loads at the same time during bootup - before nfs & ypbind.
What am I doing wrong?
Thanks