summaryrefslogtreecommitdiffstats
path: root/coin/provisioning/qtci-linux-openSUSE-42.3-x86_64/001-systemsetup.sh
blob: 4b2f2546cb2d3c4c7906ca14d77717a66f5db6ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
set -e

BASEDIR=$(dirname "$0")
source $BASEDIR/../common/network_test_server_ip.txt

sed -i '$ a\[Daemon\]\nAutolock=false\nLockOnResume=false' ~/.config/kscreenlockerrc

echo "Set Network Test Server address to $network_test_server_ip in /etc/hosts"
echo "$network_test_server_ip    qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
echo "Set DISPLAY"
echo 'export DISPLAY=":0"' >> ~/.bashrc