Просмотр исходного кода

Merge branch 'fix-installer-rclocal' into installer-update-0706

Kristan Kenney 5 лет назад
Родитель
Сommit
804184da79
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      install/hst-install-ubuntu.sh

+ 1 - 1
install/hst-install-ubuntu.sh

@@ -1769,7 +1769,7 @@ if [ ! -z "$pub_ip" ] && [ "$pub_ip" != "$ip" ]; then
     echo "$HESTIA/bin/v-update-sys-ip" >> /etc/rc.local
     echo "exit 0" >> /etc/rc.local
     chmod +x /etc/rc.local
-    systemctl enable rc-local
+    systemctl enable rc-local > /dev/null 2>&1
     $HESTIA/bin/v-change-sys-ip-nat $ip $pub_ip > /dev/null 2>&1
     ip=$pub_ip
 fi