professor_chaos
September 4th, 2005, 07:33 PM
Wasn't getting any help posting this in the application section, so I'll try here.
I'm trying to execute a programme at boot, with a script linked to /etc/rc2.d
My script /etc/init.d/script is...
#!/bin/sh test -x /path2binary/binary || exit 0 hostn=`hostname` binary -a $hostn
I have correctly set the symlink as
/etc/rc2.d/S20script -> ../init.d/script
I can execute is fine as
/etc/rc2.d/S20script
It just doesn't start at boot. Arrgh!!!
I would be much appreciative of any help. Thank you in advance.
I'm trying to execute a programme at boot, with a script linked to /etc/rc2.d
My script /etc/init.d/script is...
#!/bin/sh test -x /path2binary/binary || exit 0 hostn=`hostname` binary -a $hostn
I have correctly set the symlink as
/etc/rc2.d/S20script -> ../init.d/script
I can execute is fine as
/etc/rc2.d/S20script
It just doesn't start at boot. Arrgh!!!
I would be much appreciative of any help. Thank you in advance.