blob: 9db6641b16abf669cf2cc9e838e875a53072f3c8 [file] [log] [blame]
#!/bin/sh
export SLAPD_REMOVE="$1"
if [ -z $2 ]
then
echo 'sudo NOT enabled'
else
export SUDO=true
export SUPW=$2
fi
echo 'uninstall cds server ' $SLAPD_REMOVE
if [ $SUDO ]
then
echo $SUPW | $SLAPD_REMOVE
else
$SLAPD_REMOVE
fi