Skip to content

Commit

Permalink
Disable tlp for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanpcmcquen authored Mar 1, 2022
1 parent 1b3bc72 commit f0d977d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .slackConfigROOT.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## Note that some configuration options may not match
## depending on the system, as config-o-matic tries
## to avoid overwriting most files.
CONFIGOMATICVERSION=10.1.01
CONFIGOMATICVERSION=10.1.02


if [ ! $UID = 0 ]; then
Expand Down Expand Up @@ -871,15 +871,15 @@ elif [ "$SBOPKGISINSTALLED" = true ]; then
&& no_prompt_sbo_pkg_install_or_upgrade intel-microcode

## Always improve battery life!
no_prompt_sbo_pkg_install_or_upgrade TLP
chmod 755 /etc/rc.d/rc.tlp
if [ -z "$(grep 'rc.tlp' /etc/rc.d/rc.local)" ]; then
echo >> /etc/rc.d/rc.local
echo "if [ -x /etc/rc.d/rc.tlp ]; then" >> /etc/rc.d/rc.local
echo " /etc/rc.d/rc.tlp start" >> /etc/rc.d/rc.local
echo "fi" >> /etc/rc.d/rc.local
echo >> /etc/rc.d/rc.local
fi
#no_prompt_sbo_pkg_install_or_upgrade TLP
#chmod 755 /etc/rc.d/rc.tlp
#if [ -z "$(grep 'rc.tlp' /etc/rc.d/rc.local)" ]; then
# echo >> /etc/rc.d/rc.local
# echo "if [ -x /etc/rc.d/rc.tlp ]; then" >> /etc/rc.d/rc.local
# echo " /etc/rc.d/rc.tlp start" >> /etc/rc.d/rc.local
# echo "fi" >> /etc/rc.d/rc.local
# echo >> /etc/rc.d/rc.local
#fi

fi

Expand Down

0 comments on commit f0d977d

Please sign in to comment.