mirror of
https://github.com/That-Guy-Jack/HP-ILO-Fan-Control.git
synced 2025-04-26 20:42:28 +00:00
added install support for dl380p
This commit is contained in:
parent
27673f527f
commit
54fa31519f
27
Install.sh
27
Install.sh
@ -17,13 +17,26 @@ if [ $input = yes ] ; then
|
|||||||
cd /etc/systemd/system/
|
cd /etc/systemd/system/
|
||||||
wget https://raw.githubusercontent.com/That-Guy-Jack/HP-ILO-Fan-Control/main/Files/autofan.service
|
wget https://raw.githubusercontent.com/That-Guy-Jack/HP-ILO-Fan-Control/main/Files/autofan.service
|
||||||
echo "Finished making autofan.service"
|
echo "Finished making autofan.service"
|
||||||
echo "Preping latest autofan.sh"
|
echo "Which server are you running? Dl360p (1) or the DL380p (2) [1] or [2] :"
|
||||||
cd /
|
read server
|
||||||
echo "Downloading Latest autofan.sh"
|
if [ $server = 1 ] ; then
|
||||||
wget https://raw.githubusercontent.com/That-Guy-Jack/HP-ILO-Fan-Control/main/Files/autofan.sh
|
echo "Preping autofan.sh for DL360p "
|
||||||
echo "Downloaded autofan.sh Change Placeholders with correct info"
|
cd /
|
||||||
echo "Please Visit the Github Page to Follow Instructions"
|
echo "Downloading Latest autofan.sh"
|
||||||
echo "https://github.com/That-Guy-Jack/HP-ILO-Fan-Control"
|
wget https://raw.githubusercontent.com/That-Guy-Jack/HP-ILO-Fan-Control/main/Files/autofan.sh
|
||||||
|
echo "Downloaded autofan.sh Change Placeholders with correct info"
|
||||||
|
echo "Please Visit the Github Page to Follow Instructions"
|
||||||
|
echo "https://github.com/That-Guy-Jack/HP-ILO-Fan-Control"
|
||||||
|
else
|
||||||
|
echo "Preping autofan.sh for DL380p "
|
||||||
|
cd /
|
||||||
|
echo "Downloading Latest autofan.sh"
|
||||||
|
wget https://raw.githubusercontent.com/That-Guy-Jack/HP-ILO-Fan-Control/main/Files/autofan-dl380p-g8.sh
|
||||||
|
echo "Renaming File"
|
||||||
|
mv autofan-dl380p-g8.sh autofan.sh
|
||||||
|
echo "Downloaded autofan.sh Change Placeholders with correct info"
|
||||||
|
echo "Please Visit the Github Page to Follow Instructions"
|
||||||
|
echo "https://github.com/That-Guy-Jack/HP-ILO-Fan-Control"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
echo " :( exitting"
|
echo " :( exitting"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user