Commit Graph

40 Commits

Author SHA1 Message Date
abvee 13edca0a61
Fix for auto-cpufreq-installer regression in #460 (#462)
* Added an error message when the file isn't found

* $srv_install and $srv_remove are now at new locations
Created _old variables to keep track of old locations

* Added exit statement and specified daemon not removed

* Fixed some errors
2022-11-30 07:28:49 +01:00
John Seekins 3e28e79e28
add wheel to dependencies (speed up install) (#447)
Signed-off-by: John Seekins <john@civiceagle.com>

Signed-off-by: John Seekins <john@civiceagle.com>
2022-11-11 06:12:59 +01:00
Ishaan Bhimwal 29d5d87ded
fix multiple typos as reported by typos (#410) 2022-07-31 08:14:27 +02:00
Musa Ahmed a1c93a4d4d
Running "auto-cpufreq" itself returns an error (#408)
Running "auto-cpufreq" itself returns an error so I added the "--help" flag so the user know how to see the available options.
2022-07-19 16:53:38 +02:00
bobslept 7b7e82b2b1
Deploy cpufreqctl on --debug and remove via installer (#351) 2022-01-08 19:05:15 +01:00
bobslept 5332dffdb7
Add missing package Debian based venv (#330) 2021-12-22 16:49:29 +01:00
bobslept 6e3f45182b
Implement python virtual environment (#326)
* Implement python virtual environment

  * added venv instead of using system env pip
  * adjusted the unit file to startup the app from the venv
  * created a wrapper script to call the app from the venv
  * extended cleanup for venv and additional scripts
  * refactored the is_running() function to find the process now that it
    is called from a venv

* remove update_service_file since we changed the binary path to the venv location

* fix bug in argument handling; upgrade pip before installing python packages

* fix bug in syntax

* Renamed auto-cpufreq wrapper

* Change permissions to use --stats as user

* Changed init scripts to use wrapper

Co-authored-by: aroundthfur <velimir@foolcontrol.org>
2021-12-21 20:14:02 +01:00
bobslept 40d0671b1a
Fix removal of shared_dir on remove (#319) 2021-12-20 19:14:55 +01:00
bobslept 4d30f771e2
Check if lsb_release exists before using it (#302) 2021-12-07 17:43:29 +01:00
Adnan Hodzic 1d4f88d78d Revamp of gnome_detect & disable default enable functionality 2021-12-04 13:25:41 +01:00
Adnan Hodzic 1aed0f7477 Add option to un/mask power-profiles-daemon 2021-11-28 07:46:11 +01:00
Adnan Hodzic ec4556c835 Automatically enable/disable GNOME power savings profiles 2021-11-28 07:46:11 +01:00
4JX ded62c61e4
Fix auto-cpufreq-installer steps order (#273)
* Execute update_service_file only after copying files

Fixes #270

* Fix indentation, rename finished_text  function to old name

* Update auto-cpufreq-installer
2021-11-04 21:23:41 +01:00
Animesh Sahu 4fee7b680b
Turning Bluetooth off/on & Void Linux improvements (#269) 2021-11-04 08:32:50 +01:00
Adnan Hodzic b652cde3d4
Revert "install service file to proper location; enable and start service (#259)" (#261)
This reverts commit af7b92b104.
2021-10-17 15:56:07 +02:00
aroundthfur af7b92b104
install service file to proper location; enable and start service (#259) 2021-10-17 15:36:09 +02:00
explosion-mental 80af500858
Code refactor (improved readability) of auto-cpufreq-installer (#238) 2021-09-19 16:50:32 +02:00
explosion-mental 5ca58e7885
Artix runnit support (#237)
* artix install

* ! -> !=
2021-08-28 07:46:02 +02:00
jpnt 5a4d8f7bf3 Added Void Linux support (runit) 2021-08-20 00:01:12 +00:00
adam4nj c0f2022727
Added EndeavourOS support to auto-cpufreq-installer (#211)
Co-authored-by: adam4nj <adamjamesnelissery@gmail.com>
2021-07-02 19:59:05 +02:00
Joaquin Manuel Crespo 92e9940034
Update for ArchLinux's pacman (#205)
Adding "--needed" option to not reinstall installed packages. Replaced "gcc" with metapackage "base-devel" for complete delopment environment.
2021-06-01 12:19:03 +02:00
Marco Vermeulen e87a32f6c9
Fix service unit file on Arch Linux (#190)
* Fix service unit file on arch.

* Remove duplication in installer script.

* Improve formatting of installer script bash code.
2021-03-14 19:23:06 +01:00
Shrinivas Kumbhar 5d26803204
use dmidecode and dependancies update (#163) 2021-02-03 09:18:03 +01:00
Marco Vermeulen 02d58f9f20
Improve domain language around logging and stats (#160)
* Ignore Pycharm descriptors from VCS.

* Rename all occurances of `log` to `stats`.

* Rename log file to stats and move to /var/run

* Bring back --log switch with deprecation message.
2021-02-02 21:40:55 +01:00
Marco Vermeulen 11872ac9a0
Add Arch-based Linux to auto-cpufreq-installer script. (#152) 2021-01-20 21:32:12 +01:00
Alex Speranza 070103dc0d
Improves opensuse detection (#135)
* Adds OpenSUSE Tumbleweed to detected distributions

* Adds OpenSUSE Leap detection

* Fixes OpenSUSE Tumbleweed package installation

* Fixes openSUSE section comment
2020-12-07 20:27:34 +01:00
Alex Speranza 40f349b7f0 Adds OpenSUSE Tumbleweed to detected distributions (#134) 2020-12-06 23:59:39 +01:00
natri23 5120cbd0a1
added required build-packages for Solus (#123) 2020-09-24 09:19:42 +02:00
Adnan Hodzic 8c8f20b1d9 Removed installation of redundant inxi package for Solus 2020-09-24 07:54:33 +02:00
natri23 22d95746a6
add support for Solus (#122)
* add support for Solus

add an instruction command to point auto-cpufreq.service to the right location to fix --install on Solus

* using sed instead of awk

* add "may requires root" to instructions

* add Solus as a separate installer

Add Solus as a separate installer instead of instructions

* remove redundant instructions
2020-09-24 07:51:46 +02:00
Adnan Hodzic 92678e447b updated dependencies for source installer (#121) 2020-09-20 22:32:58 +02:00
Adnan Hodzic 75124ff803 added missing separator func call to auto-cpufreq-installer 2020-09-13 20:28:34 +02:00
Adnan Hodzic 5c3adbef77 implemented env agnostic way to install pip packages (Close: #94) 2020-08-14 08:38:44 +02:00
Vadym Stupakov e02f7a6881 implemented --debug option (#70)
* implemented --debug option
- Added --debug option that shows sys info
- Added inxi as dependency
- Implemented get_sys_info() that returns inxi output
  with injected governnor information
- Fixed bug: delete_file was called but this was deleted in prev PR
- Updated issue template
2020-08-05 23:49:23 +02:00
Vadym Stupakov e1e09d0629 added ability to use auto-cpufreq-installer from any path (#65)
* added ability to use this script from any path
2020-08-05 18:06:28 +02:00
Adnan Hodzic c4064708cc added missing "setuptools" dependency (Close #54) 2020-04-21 22:33:14 +02:00
Adnan Hodzic ce010bbe09 minor changes to auto-cpufreq-installer 2020-03-06 10:38:12 +01:00
Adnan Hodzic 373f054fbb updated source installer removal + proccess 2020-02-17 10:06:58 +01:00
Adnan Hodzic ae1159fb0c improved tool removal as part of auto-cpufreq-installer 2020-02-16 13:21:32 +01:00
Adnan Hodzic 53ce2a635e added source code installer 2020-02-09 14:44:06 +01:00