I have clustered pool with etc... and var... hierarchy for DHCP. I can
easily load and run this resource via this script:

#!/bin/bash
.. /opt/novell/ncs/lib/ncsfuncs
exit_on_error nss /poolact=DHCP
exit_on_error ncpcon mount DHCPVOL=250
exit_on_error add_secondary_ipaddress 172.16.0.138
exit_on_error ncpcon
bind --ncpservername=CHUMEL_DHCP_SERVER --ipaddress=172.16.0.138
dhcpd -cf /media/nss/DHCPVOL/etc/dhcpd.conf -lf /media/nss/DHCPVOL/var/lib/dhcp/db/dhcpd.leases
exit 0

But when I run script that I am supposed to use (in documentation), status
is Loading, then Unloading and Comatose. Where is an error in my ctrl+c,
ctrl+v script from documentation?

#!/bin/bash
.. /opt/novell/ncs/lib/ncsfuncs
exit_on_error nss /poolact=DHCP
exit_on_error ncpcon mount DHCPVOL=250
exit_on_error add_secondary_ipaddress 172.16.0.138
exit_on_error ncpcon
bind --ncpservername=CHUMEL_DHCP_SERVER --ipaddress=172.16.0.138
MOUNT_POINT="/media/nss/DHCPVOL"
DHCPD_ARGS="" if [ -s /etc/sysconfig/dhcpd ]; then . /etc/sysconfig/dhcpd if
[ -n "$DHCPD_RUN_AS" ]; then DHCPD_RUN_AS_GROUP="$(getent group $(getent
passwd $DHCPD_RUN_AS | cut -d: -f4) | cut -d: -f1)"
DHCPD_ARGS="$DHCPD_ARGS -user $DHCPD_RUN_AS -group $DHCPD_RUN_AS_GROUP" fi
if [ -n "$DHCPD_INTERFACE" ]; then
unset interfaces if [ -x /sbin/getcfg-interface]; then for i in
$DHCPD_INTERFACE; do interfaces="$interfaces$(/sbin/getcfg-interface $i) "
done fi DHCPD_ARGS="$DHCPD_ARGS $interfaces" fi fi
exit 0

I suppose, that main problem of my first script is, that dhcpd is run under
root user, not dhcpd user.