Subversion Repositories ALCASAR

Rev

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

Rev 1765 Rev 1769
Line 1... Line 1...
1
#/bin/bash
1
#/bin/bash
2
# $Id: alcasar-conf.sh 1765 2016-01-16 09:42:24Z richard $
2
# $Id: alcasar-conf.sh 1769 2016-01-17 20:39:23Z richard $
3
 
3
 
4
# alcasar-conf.sh
4
# alcasar-conf.sh
5
# by REXY
5
# by REXY
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
 
7
 
Line 215... Line 215...
215
		private_network_calc
215
		private_network_calc
216
		INSTALL_DATE=`grep INSTALL_DATE $CONF_FILE|cut -d"=" -f2`
216
		INSTALL_DATE=`grep INSTALL_DATE $CONF_FILE|cut -d"=" -f2`
217
		ORGANISME=`grep ORGANISM $CONF_FILE|cut -d"=" -f2`
217
		ORGANISME=`grep ORGANISM $CONF_FILE|cut -d"=" -f2`
218
 		DOMAIN=`grep DOMAIN $CONF_FILE|cut -d"=" -f2`
218
 		DOMAIN=`grep DOMAIN $CONF_FILE|cut -d"=" -f2`
219
		DHCP_mode=`grep DHCP= $CONF_FILE|cut -d"=" -f2`
219
		DHCP_mode=`grep DHCP= $CONF_FILE|cut -d"=" -f2`
220
		INT_DNS_active=`grep INT_DNS_ACTIVE= $CONF_FILE|cut -d"=" -f2`
-
 
221
		if [ "$PARENT_SCRIPT" != "alcasar.sh" ] # don't launch on install stage
220
		if [ "$PARENT_SCRIPT" != "alcasar.sh" ] # don't launch on install stage
222
		then
221
		then
223
			if [ $DHCP_mode = "off" ]
222
			if [ $DHCP_mode = "off" ]
224
			then
223
			then
225
				$DIR_SBIN/alcasar-dhcp.sh --off
224
				$DIR_SBIN/alcasar-dhcp.sh --off
226
			fi
225
			fi
227
# Implementation of a local internal DNS server
-
 
228
			$DIR_SBIN/alcasar-dns-local.sh --$INT_DNS_active
-
 
229
# Implementation of the authentification LDAP
226
# Implementation of the authentification LDAP
230
#			$DIR_SBIN/alcasar-ldap.sh --$INT_LDAP_active
227
#			$DIR_SBIN/alcasar-ldap.sh --$INT_LDAP_active
231
 
228
 
232
# Logout everybody
229
# Logout everybody
233
			$DIR_SBIN/alcasar-logout.sh all		
230
			$DIR_SBIN/alcasar-logout.sh all