Subversion Repositories ALCASAR

Rev

Rev 3286 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 3286 Rev 3294
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
# $Id: alcasar-conf.sh 3286 2025-05-21 13:33:19Z rexy $
2
# $Id: alcasar-conf.sh 3294 2025-07-20 22:26:38Z rexy $
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 210... Line 210...
210
			chmod 640 /etc/pki/tls/private/*
210
			chmod 640 /etc/pki/tls/private/*
211
			chmod 644 /etc/pki/tls/certs/*
211
			chmod 644 /etc/pki/tls/certs/*
212
		fi
212
		fi
213
		## alcasar-services become alcasar-custom-allowed-ports
213
		## alcasar-services become alcasar-custom-allowed-ports
214
		[ -e $DIR_ETC/alcasar-services ] && mv $DIR_ETC/alcasar-services $DIR_ETC/alcasar-custom-allowed-ports
214
		[ -e $DIR_ETC/alcasar-services ] && mv $DIR_ETC/alcasar-services $DIR_ETC/alcasar-custom-allowed-ports
-
 
215
## V3.7 --> V3.8
-
 
216
		## Add Federation entries in conf file
-
 
217
		if [ `grep -E '^REPLICATION=' $CONF_FILE |wc -l` -eq "0" ]; then echo "REPLICATION=off" >> $CONF_FILE; fi
-
 
218
		if [ `grep -E '^REPLICATION_TO=' $CONF_FILE |wc -l` -eq "0" ]; then echo "REPLICATION_TO=off" >> $CONF_FILE; fi
215
# Remove the update folder
219
# Remove the update folder
216
		rm -rf $DIR_UPDATE
220
		rm -rf $DIR_UPDATE
217
		;;
221
		;;
218
 
222
 
219
####################################################
223
####################################################