#!/bin/sh
#
# start the sc_daemons
#
# $Id: sc_start_daemons 10566 2015-03-12 17:33:49Z HZuchel $
#
. /etc/sysconfig/dhcpd
. /etc/smartclient/leases2ldap

sc_daemons_list="/usr/sbin/rcsc_ldap2dnsdhcpd /usr/sbin/rcsc_controld"
sleep_time=3

$LEASES2LDAP_START_DHCPD
# start the daemons
for script in $sc_daemons_list; do
	$script start
	sleep $sleep_time
done
echo "done"

