Subversion Repositories ALCASAR

Rev

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

Rev 3124 Rev 3151
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
# $Id: alcasar-conf.sh 3124 2023-04-05 21:30:05Z rexy $
2
# $Id: alcasar-conf.sh 3151 2023-11-29 20:54:00Z 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 191... Line 191...
191
		$DIR_BIN/alcasar-bl.sh -cat_choice
191
		$DIR_BIN/alcasar-bl.sh -cat_choice
192
		$DIR_BIN/alcasar-bl.sh -reload
192
		$DIR_BIN/alcasar-bl.sh -reload
193
# admin profile update (admin + manager + backup)
193
# admin profile update (admin + manager + backup)
194
		$DIR_BIN/alcasar-profil.sh --list
194
		$DIR_BIN/alcasar-profil.sh --list
195
# Apply changes between versions
195
# Apply changes between versions
196
##   V5.4 --> V5.5   ##
-
 
197
		# new rule for SMTP output flows
-
 
198
		[ -e $DIR_ETC/alcasar-iptables-local.sh ] && cp $DIR_ETC/alcasar-iptables-local.sh $DIR_ETC/alcasar-iptables-local.sh.old && cp $CURRENT_DIR/conf/etc/alcasar-iptables-local.sh $DIR_ETC/
-
 
199
##   V5.5 --> V6.0
196
##   V5.5 --> V6.0
200
		## remove dnsmasq service
197
		## remove dnsmasq service
201
		[ -e /etc/dnsmasq-whitelist.conf ] && rm -f /etc/dnsmasq*
198
		[ -e /etc/dnsmasq-whitelist.conf ] && rm -f /etc/dnsmasq*
202
		[ -e /etc/systemd/system/dnsmasq-whitelist.service ] && rm -f /etc/systemd/system/dnsmasq* && urpme dnsmasq
199
		[ -e /etc/systemd/system/dnsmasq-whitelist.service ] && rm -f /etc/systemd/system/dnsmasq* && urpme dnsmasq
203
# Remove the update folder
200
# Remove the update folder