I'm sort of a linux newbie, although I've used it on and off for a couple of years. I've configured SuSE Linux 7.3 to run OpenLDAP to host a Netmeeting directory. I can get the directory to work when I run the 3 required commands manually. However, I haven't figured out how to get these commands to be executed automatically every time the machine is rebooted.
I followed the directions in the Netmeeting directory How-to, and downloaded the Netmeeting Directory kit from www.freesoft.org.
This kit included a file called slapd.rcd which is "For systems with /etc/rc.d/ style initialization scripts (like RedHat), the slapd.rc is provided to automate the starting and stopping of the slapds".
The commands I neet to have executed to start the Netmeeting Directory are:
bash# /usr/local/libexec/slapd -f /usr/local/etc/openldap/slapd.conf -u nobody
bash$ /usr/local/libexec/slapd –h ldap://localhost:2345/ -f /usr/local/var/openldap-netmeeting/slapd2.conf
bash$ /usr/local/libexec/slapd -h ldap://localhost:2345/ -f /usr/local/etc/openldap/slapd2.conf
What is the best way to have these commands run each time the machine starts up? I've read and read, but can't seem to figure it out. In windows I could create a batch file and put it in the startup folder. Is there something similar in Linux or specifically SuSE 7.3?
Thanks in advance....JB