summaryrefslogtreecommitdiffstats
path: root/tests/testserver/echo/echo.sh
blob: d8fedb1a89e9f78bf092d69e1cfe06a005d2d04d (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash
# Copyright (C) 2024 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

# Disabled by default, enable it.
sed -i 's/disable\t\t= yes/disable = no/' /etc/xinetd.d/echo
sed -i 's/disable\t\t= yes/disable = no/' /etc/xinetd.d/daytime

service xinetd restart