#! /bin/sh

if [ -f /usr/lib/eicon/divas/divadidd.ko ]
then
diva_dir=/usr/lib/eicon/divas
else

if [ -f /usr/lib/eicon/divas/divadidd.o ]
then
diva_dir=/usr/lib/eicon/divas
else
diva_dir=/usr/lib/isdn/eicon
fi

fi

$diva_dir/divas_cfg.rc
if [ $(($?)) -ne 0 ]
then
exit 1
fi

# ----------------------------------
#  Please add commands to be executed
#  after the start of Diva drivers
#  below.
#  Please use "diva_dir" as path
#  to "divactrl" utility.
#
#  "${diva_dir}/divactrl mantool -Exclusive -WDog -c 1000" - access CAPI management interface
#  "${diva_dir}/divactrl mantool -Exclusive -WDog -c 1001" - access TTY management interface
#
# ----------------------------------

exit 0

