We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7651db5 commit c0b9609Copy full SHA for c0b9609
install/hst-install-ubuntu.sh
@@ -1645,6 +1645,8 @@ pub_ip=$(curl --ipv4 -s https://ip.hestiacp.com/)
1645
if [ ! -z "$pub_ip" ] && [ "$pub_ip" != "$ip" ]; then
1646
if [ -e /etc/rc.local ]; then
1647
sed -i '/exit 0/d' /etc/rc.local
1648
+ else
1649
+ touch /etc/rc.local
1650
fi
1651
1652
check_rclocal=$(cat /etc/rc.local | grep "#!")
0 commit comments