Fixed tar comand and path

This commit is contained in:
2022-06-27 21:52:59 +02:00
parent 079f4dc6cd
commit dad44965d5

View File

@@ -78,14 +78,14 @@ case $dist in
esac
wget -O /tmp/LDS.tar.gz "$repo"/archive/"$branch".tar.gz
tar xzf /tmp/LDS.tar.gz C /tmp
tar -xzf /tmp/LDS.tar.gz -C /tmp
#Configure (re)start services
mkdir -p /opt/LDS/tftp /opt/LDS/www
mv /tmp/LDS-Base/iPXE /opt/LDS/tftp
mv /tmp/LDS-Base/UpdateIP.sh /opt/LDS
mv /tmp/LDS-Base/dnsmasq.conf /etc/dnsmasq.conf
mv /tmp/LDS-Base/lighttpd.conf /etc/lighttpd/lighttpd.conf
mv /tmp/lds-base/iPXE /opt/LDS/tftp
mv /tmp/lds-base/UpdateIP.sh /opt/LDS
mv /tmp/lds-base/dnsmasq.conf /etc/dnsmasq.conf
mv /tmp/lds-base/lighttpd.conf /etc/lighttpd/lighttpd.conf
#Set dnsmasq ip range
echo ""