mirror of
https://github.com/That-Guy-Jack/HP-ILO-Fan-Control.git
synced 2025-04-27 04:52:27 +00:00
Update Install.sh
This commit is contained in:
parent
50811f877f
commit
23849c3e28
11
Install.sh
11
Install.sh
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
GNU nano 4.8 Install.sh Modified
|
||||||
|
##!/bin/bash
|
||||||
echo "You are about to Download/Install the required items for the HP ILO Fan control, "
|
echo "You are about to Download/Install the required items for the HP ILO Fan control, "
|
||||||
echo "Do you accept that your are about to install? [yes] or [no] :"
|
echo "Do you accept that your are about to install? [yes] or [no] :"
|
||||||
read input
|
read input
|
||||||
@ -28,7 +29,7 @@ if [ $input = yes ] ; then
|
|||||||
echo "Please Visit the Github Page to Follow Instructions"
|
echo "Please Visit the Github Page to Follow Instructions"
|
||||||
echo "https://github.com/That-Guy-Jack/HP-ILO-Fan-Control"
|
echo "https://github.com/That-Guy-Jack/HP-ILO-Fan-Control"
|
||||||
exit 1
|
exit 1
|
||||||
else if [ $server = 2 ] ; then
|
elif [ $server = 2 ] ; then
|
||||||
echo "Preping autofan.sh for DL380p "
|
echo "Preping autofan.sh for DL380p "
|
||||||
cd /
|
cd /
|
||||||
echo "Downloading Latest autofan.sh"
|
echo "Downloading Latest autofan.sh"
|
||||||
@ -39,10 +40,8 @@ if [ $input = yes ] ; then
|
|||||||
echo "Please Visit the Github Page to Follow Instructions"
|
echo "Please Visit the Github Page to Follow Instructions"
|
||||||
echo "https://github.com/That-Guy-Jack/HP-ILO-Fan-Control"
|
echo "https://github.com/That-Guy-Jack/HP-ILO-Fan-Control"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
fi
|
||||||
echo "incorrect answer :<"
|
|
||||||
exit 1
|
|
||||||
else
|
else
|
||||||
echo " :( exitting"
|
echo " :( exitting"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user