Skip to content

Commit 21dae06

Browse files
authored
[Bug fix] Path change of IPset blacklist.sh (hestiacp#3389)
* Apply update for path change of blacklist.sh * Minor fixes for the install script * Improve for MariaDB deprecated mysql
1 parent b119fe2 commit 21dae06

File tree

5 files changed

+131
-110
lines changed

5 files changed

+131
-110
lines changed

bin/v-add-sys-firewall

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ check_hestia_demo_mode
3535

3636
# Adding default ruleset
3737
if [ -z "$(ls -A $HESTIA/data/firewall 2> /dev/null)" ]; then
38-
cp -rf $HESTIA_INSTALL_DIR/firewall $HESTIA/data/
38+
cp -rf $HESTIA_COMMON_DIR/firewall $HESTIA/data/
39+
rm -f $HESTIA/data/firewall/ipset/blacklist.sh $HESTIA/data/firewall/ipset/blacklist.ipv6.sh
3940
fi
4041

4142
# Updating FIREWAL_SYSTEM value

0 commit comments

Comments
 (0)