REGARDING "ndsd" STARTUP/SHUTDOWN SCRIPT#This was implemented in the 188.8.131.52 release of eDirectory.
The patch may install a new version of the "ndsd" startup/shutdown script. If you have an existing one then it will be renamed to:
Linux: /etc/init.d/ndsd.184.108.40.206.backup Solaris: /etc/init.d/ndsd.220.127.116.11.backup HP-UX: /sbin/init.d/ndsd.18.104.22.168.backup
The "ndsd" startup/shutdown script now has the ability to run custom shell scripts that negate the need for modifying the "ndsd" script directly. If you wish to modify the "ndsd" script then instead modify or create one or more of the following files located in the /opt/novell/eDirectory/sbin/ directory:
- Pre "ndsd" server daemon startup execution: ./pre_ndsd_start
- Post "ndsd" server daemon startup execution: ./post_ndsd_start
- Pre "ndsd" server daemon shutdown execution: ./pre_ndsd_stop
- Post "ndsd" server daemon shutdown execution: ./post_ndsd_stop
Ensure that the scripts are executable by the root user otherwise the main ndsd script will fail when running the custom scripts.
The "ndsd" startup/shutdown script will check for the existence of these files and execute them at the appropriate time during startup or shutdown.