Fixed tar comand and path
This commit is contained in:
@@ -78,14 +78,14 @@ case $dist in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
wget -O /tmp/LDS.tar.gz "$repo"/archive/"$branch".tar.gz
|
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
|
#Configure (re)start services
|
||||||
mkdir -p /opt/LDS/tftp /opt/LDS/www
|
mkdir -p /opt/LDS/tftp /opt/LDS/www
|
||||||
mv /tmp/LDS-Base/iPXE /opt/LDS/tftp
|
mv /tmp/lds-base/iPXE /opt/LDS/tftp
|
||||||
mv /tmp/LDS-Base/UpdateIP.sh /opt/LDS
|
mv /tmp/lds-base/UpdateIP.sh /opt/LDS
|
||||||
mv /tmp/LDS-Base/dnsmasq.conf /etc/dnsmasq.conf
|
mv /tmp/lds-base/dnsmasq.conf /etc/dnsmasq.conf
|
||||||
mv /tmp/LDS-Base/lighttpd.conf /etc/lighttpd/lighttpd.conf
|
mv /tmp/lds-base/lighttpd.conf /etc/lighttpd/lighttpd.conf
|
||||||
|
|
||||||
#Set dnsmasq ip range
|
#Set dnsmasq ip range
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user