-
-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve auto-cpufreq installer (#459)
* Fixed seperator so that it prints to the lenght of the terminal and uses box lines instead of hyphens * Replaced multiple echo calls with either a single echo call or a here doc. Here docs are more efficient as they only call once, and formatting doesn't need to be done with escape characters, thus making code more readable * Moved header to the center * Fixed _EOF_ error * Fixed Indentation problem. Moved $COLOUMN into seperator function, so if the terminal is resized while the script is running, a new seperator should be resized as well. * Added a header function as the "auto-cpufreq installer" heading comes up multiple times. Made local variables to allow for neat drawing when resizing the terminal. * Fixed spacing issue * Replaced "=" with seperators and added blank lines * Added a check for wrapper script. This allows uninstallation without the daemon needing to be installed
- Loading branch information
Showing
1 changed file
with
61 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters