We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f5963e commit 77a09a1Copy full SHA for 77a09a1
2 files changed
install/hst-install-debian.sh
@@ -1377,7 +1377,7 @@ if [ "$named" = 'yes' ]; then
1377
check_result $? "bind9 start failed"
1378
1379
# Workaround for OpenVZ/Virtuozzo
1380
- if [ -e "/proc/vz/veinfo" ]; then
+ if [ -e "/proc/vz/veinfo" ] && [ -e "/etc/rc.local" ]; then
1381
sed -i "s/^exit 0/service bind9 restart\nexit 0/" /etc/rc.local
1382
fi
1383
install/hst-install-ubuntu.sh
@@ -1354,7 +1354,7 @@ if [ "$named" = 'yes' ]; then
1354
1355
1356
1357
1358
1359
1360
0 commit comments