ClienteTFG/instaler_client.sh

13 lines
451 B
Bash
Raw Normal View History

2020-06-02 00:29:45 +02:00
echo Contraseña:
read -s pas
qmake -makefile ClienteTFG.pro && make -j$(nproc)
echo $pas | sudo -S mv ClienteTFG /usr/bin
echo $pas | sudo -S chmod a+x /usr/bin/ClienteTFG
echo $pas | sudo -S echo "security=yes" >> /etc/clientRemoteBuilds/config
echo "write a port"
read port
echo $pas | sudo -S echo "port=$port" >> /etc/clientRemoteBuilds/config
echo "write a host"
read host
echo $pas | sudo -S echo "host=$host" >> /etc/clientRemoteBuilds/config