28 Commits

Author SHA1 Message Date
e66dbed7a8
Enhance Functions + General Improvements (#52)
* Add an alternative to Audacity.

* Remove the Brave Browser since the repo has started failing and I only use Firefox browsers these days.

* Remove alias audacity for tenacity.

* Ignore if the repos are already removed.

* Stop installing Telegraf.

* Add the new dconf name for System Monitor.

* Remove the download if it already exists. Force the move.

* Fix overwrite prompt for Metasploit.

* Don't do flatpaks during a battery device's goodbye.

* Fix variable case, add quotes.

* Fix double quotes.

* Add full set of commands for compressing videos.

* Fix trash size checking to work for folders.

* Allow only updating system or Flatpak programs.

* Also check the DE trash folder.

* No longer have Flatpaks contingent on system updates.

* Improve variable names and flow.

* Fix maxdepth.

* Check network mounts for hidden trash folders.

* Add media. Only restrict maxdepth for Home directory.

* Properly check media.

* Ensure hidden files also get seen and removed.
2024-09-23 11:51:17 -07:00
a561bdecc1
Goodbye Graphana (#49) 2024-01-27 19:07:35 -07:00
a6e73b4f4b
Use Local IP For InfluxDB (#38) 2023-04-29 05:05:04 -07:00
904dda6883
Add support for openSUSE (#35)
* Add openSUSE for initial testing.

* Add package names for openSUSE Zypper.

* Add commands for Zypper. Do apt clean after autoremove.

* Add cronie to openSUSE.

* Remove warn parameter for newer version of Ansible.

* Commenting warn worked, removing it completely.

* Add libvulkan1 since it's a dependency for GNOME.

* Fix order of lynis and nmap. Thought I had already done this before?

* Start adding package names for openSUSE.

* Create the sshd_config file if it is not already present.

* Fix OS in conditional.

* Save the command for checking ansible variables.

* Use openSUSE family since Tumbleweed and Leap are considered different distros.

* Get rid of 2nd flathub repo, no longer use the dl. version..

* Add status update for openSUSE.

* Reword sentence.

* Add Brave Browser to openSUSE.

* Script is running successfully now when Workstation is enabled.

* Add status of openSUSE Leap.

* Add space.

* No longer use install-new-recommends.
2023-02-18 09:29:36 -06:00
e39aeb20e7
Save Battery Life (#32)
* Added parameters (also made the script more of a program).

* Add additional options for unplugged devices.

* Allow disabling of cron jobs and lowering of telegraf frequency through new config options.

* Fix cron package name.

* Fix ssh service name for Ubuntu.

* Add output to the options so user knows they were switched.

* Prevent some tasks when device is mobile.

* Enhance and add to comments.

* Add function to check flatpak app disk usage.

* Add repair into flatpak commands to help clean disk space of unused apps.

* Remove "Done!" output from flatpak-usage.

* Go ahead and add function for purging Flatpak apps.

* Few more comment changes.
2022-12-03 15:28:29 -06:00
3c670b5961
Bugfixes + Update Enhancements (#25)
* Move certbot to be first.

* Comment out HTTPS, will use reverse proxy until it is working properly.

* Enhance `update` for pacman + pkg

* `update` enhancements to pkg and apt.

* Add more FS types to ignore.

* Add `freebsd-update` commands, including a clean of previous upgrade (VMs are small and need space!).

* Add sudo.

* Put the directory back for future updates.

* Avoid exit code 2 from freebsd-update install.

* Remove word Cleanup.
2022-04-16 08:07:53 -05:00
b3b2874ad3
Software Updates, FreeBSD Sendmail, GitLab Fixes (#18)
* Assign test to dev branch.

* Update telegraf Linux binary.

* First attempt at making sure sendmail is on FreeBSD systems.

* Change gitlab_url to be specified in host file.

* Upgrade nanominer.

* Fix FINISH file being populated without START on non-containers.

* Prevent installer from trying to set up certificate.

* Fix name spacing.

* Fix gitlab_url variable.

* Change names to show both parameter name and value.

* Fix gitlab_url values to contain the protocol.

* Fix gitlab_url example.
2021-11-21 22:28:11 +00:00
d3357cb2d9
Increase Telegraf Frequency + Flatpak Executables (#16)
* Add a few aliases for initializing projects.

* Begin creating executables in bin for flatpaks. Create an array to reduce future changes.

* Add quotes.

* Create files as user and set executable permissions.

* Split exec dir from array section.

* Increase interval for Telegraf but keep the flush at 30s.
2021-10-28 07:28:24 -05:00
db9812bb92
Disk Maintenance Day Changes (#14)
* Remove Thunderbird and Audacity. Don't add Geary to new installs but don't remove it in case it comes with the distro.

* Remove Thunderbird from Favorites.

* Add more systems to Dev branch.

* Add sudo so older distros don't ask for password on every app update.

* Alias for sync to help save some time typing.

* Post less often to hopefully allow keeping up a year of data in less than 16GB.
2021-10-09 14:13:48 -05:00
72111e81b4 Only send total CPU since it's all I report, hopefully it makes the graph faster. 2021-04-17 20:15:49 -05:00
3133497c4e Fix names. Totally why I was not seeing the certbot job in log. Darn. 2021-04-07 20:52:19 -05:00
97ea0137d7 Ensure Linux also has the path for the executable. 2021-03-20 14:15:58 -05:00
7a1baaae5c Go ahead and run reboot job on FreeBSD. Unsure why it happened twice before, is not happening at all now. 2021-03-20 13:43:27 -05:00
67bf5ff32a Did the ternary on the wrong job, fixed now. 2021-03-20 13:38:12 -05:00
7f43e29680 Allow mv to fail if config hasn't been created yet. 2021-03-20 13:34:12 -05:00
bd297833a2 Fix variable inheritance. 2021-03-20 13:29:31 -05:00
2e1d745582 Fix warning and missing folder in Linux Install. 2021-03-20 13:24:38 -05:00
15eaefa3a6 Remove command from FreeBSD Reboot job. It seems to start on its own. 2021-03-20 13:21:26 -05:00
33e43aab3d Don't warn about commands having module alternatives. 2021-03-20 13:15:02 -05:00
ddee8b7cf1 Linux complains about moving folder onto folder. Need to rm it. 2021-03-20 13:04:05 -05:00
8e2a909470 Take default markers. Remove config each reload. 2021-03-20 12:57:04 -05:00
edfb5be0b6 Change ; to # to avoid TOML syntax error. 2021-03-20 12:51:47 -05:00
8c88dbbe8e Rename Start job to Reboot. Fix markers on config file. 2021-03-20 12:47:02 -05:00
a36b62d0a3 Remove running program, allow cron to kickoff later. 2021-03-20 12:20:40 -05:00
58fab0c8de Fix counter in name. 2021-03-20 12:10:03 -05:00
eaed30efa5 Remove 's' from module name. 2021-03-20 12:07:56 -05:00
e143e55b2e Add quotes. 2021-03-20 12:06:56 -05:00
9250767d10 First attempt at domain-wide Telegraf logging. (debug-only) 2021-03-20 12:05:18 -05:00