Subversion Repositories ALCASAR

Rev

Rev 1916 | Rev 1921 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1916 Rev 1918
Line 1... Line 1...
1
 
1
 
2
#!/bin/bash
2
#!/bin/bash
3
# $Id: alcasar-uninstall.sh 1916 2016-06-01 09:34:45Z franck $
3
# $Id: alcasar-uninstall.sh 1918 2016-06-01 14:49:47Z franck $
4
 
4
 
5
# alcasar-uninstall.sh
5
# alcasar-uninstall.sh
6
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
6
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
7
# This script is distributed under the Gnu General Public License (GPL)
7
# This script is distributed under the Gnu General Public License (GPL)
8
 
8
 
Line 14... Line 14...
14
echo "-----------------------------------------------------------------------------"
14
echo "-----------------------------------------------------------------------------"
15
echo "**                     Uninstall/Update ALCASAR                            **"
15
echo "**                     Uninstall/Update ALCASAR                            **"
16
echo "-----------------------------------------------------------------------------"
16
echo "-----------------------------------------------------------------------------"
17
echo
17
echo
18
# logout all logged users   (delete test in future version)
18
# logout all logged users   (delete test in future version)
19
if [ -e 	$DIR_BIN/alcasar-mysql.sh ]; then					$DIR_BIN/alcasar-logout.sh all
19
if [ -e $DIR_BIN/alcasar-logout.sh ]; then
-
 
20
	$DIR_BIN/alcasar-logout.sh all
20
else
21
else
21
	/usr/local/sbin/alcasar-logout.sh all
22
	/usr/local/sbin/alcasar-logout.sh all
22
fi
23
fi
23
# services_stop
24
# services_stop
24
echo "Stopping service : "
25
echo "Stopping service : "