Update 1-setup.sh
This commit is contained in:
parent
a0b720dfd2
commit
2b21664373
17
1-setup.sh
17
1-setup.sh
|
|
@ -235,6 +235,23 @@ elif lspci | grep -E "Integrated Graphics Controller"; then
|
|||
fi
|
||||
|
||||
echo -e "\nDone!\n"
|
||||
|
||||
if ! source install.conf; then
|
||||
read -p "Are you using a laptop? (Y/n): " laptop
|
||||
if [[ $laptop == y ]] || [[$laptop == Y ]] then
|
||||
echo "\nCLONING: auto-cpufreq\n"
|
||||
git clone https://github.com/AdnanHodzic/auto-cpufreq
|
||||
cd ${HOME}/auto-cpufreq
|
||||
sudo chmod +x auto-cpufreq-installer
|
||||
sudo ./auto-cpufreq-installer
|
||||
sudo auto-cpufreq --install
|
||||
cd ~/
|
||||
else
|
||||
echo "\nOk!\n"
|
||||
else
|
||||
echo "Proceed to the next step\n"
|
||||
fi
|
||||
|
||||
if ! source install.conf; then
|
||||
read -p "Please enter username:" username
|
||||
echo "username=$username" >> ${HOME}/ArchTitus/install.conf
|
||||
|
|
|
|||
Loading…
Reference in New Issue