Browse Source

Update upgrade script

Jaap Marcus 5 years ago
parent
commit
843817fe47
1 changed files with 6 additions and 0 deletions
  1. 6 0
      install/upgrade/versions/1.4.0.sh

+ 6 - 0
install/upgrade/versions/1.4.0.sh

@@ -127,6 +127,12 @@ if [ ! -f "$HESTIA/conf/defaults/hestia.conf" ]; then
     cp -f $HESTIA/conf/hestia.conf $HESTIA/conf/defaults/hestia.conf
 fi
 
+if [ -f "/usr/lib/networkd-dispatcher/routable.d/50-ifup-hooks" ]; then
+    echo "[ * ] Fix potenial issue with multiple network adapters and netplan..."
+    rm "/usr/lib/networkd-dispatcher/routable.d/50-ifup-hooks"
+    $BIN/v-update-firewall
+fi
+
 # Consolidate nginx (standalone) templates used by active websites
 if [ "$WEB_SYSTEM" = "nginx" ]; then
     echo "[ * ] Consolidating nginx templates for Drupal & CodeIgniter..."