Commit Graph

29 Commits

Author SHA1 Message Date
1f70c21007 Add custom entries protection to hosts install.sh
- Track custom blocked entries in /etc/hosts.custom-entries.state
- Block installation if any previously blocked entries are removed
- No bypass option - manual chattr removal required for changes
- Protects against impulsive unblocking of sites
- State file is also protected with chattr +i
2025-12-07 14:01:41 +01:00
526362d665 Fix check_and_enable_services.sh and hosts guard
- Fix startup_monitor check to verify timer instead of service
- Fix pacman hooks filename check (10-unlock-etc-hosts.hook, 90-relock-etc-hosts.hook)
- Add re-verification after fixes to update status correctly
- Set immutable attribute before bind mount in pacman-post-relock-hosts.sh
- Add new check_and_enable_services.sh script for verifying all digital wellbeing services
2025-12-04 15:14:50 +01:00
77d1cc581e fix: resolve all shellcheck errors
- Replace 'A && B || C' patterns with proper if-then-else statements (SC2015)
- Add check_for_virtualbox function to invoke prompt_for_virtualbox_challenge (SC2317)
- Fix install_launcher function to escape variable in heredoc (SC2119/SC2120)
- Apply shfmt formatting to ensure consistent style

Fixes 7 SC2015 violations, 1 SC2317 violation, and 1 SC2119/SC2120 pair.
All 79 shell files now pass shellcheck without errors.
2025-11-16 21:17:08 +01:00
65754e816b feat: add install unreal mcp script 2025-11-06 20:24:19 +01:00
42db2c1d44 fix: shellcheck issues 2025-11-01 15:36:22 +01:00
b2ef334526 Revert "feat: removed pre unlock hosts script"
This reverts commit 14d5802544.
2025-10-31 17:50:11 +01:00
14d5802544 feat: removed pre unlock hosts script 2025-10-31 17:16:48 +01:00
294d4fe5cd fix: pacman hooks for hosts 2025-10-13 10:21:35 +02:00
e7527a3d32 feat: more hosts friction 2025-10-01 20:56:04 +02:00
a46dc183ef feat: more etc hosts friction 2025-10-01 20:50:56 +02:00
05e778832b feat: skip systemctl restart network manager serivce 2025-09-06 18:05:50 +02:00
b4df463a61 feat: steam compatibility script 2025-09-06 17:58:54 +02:00
aec80ed39c feat: speedup hosts installation 2025-09-06 14:28:17 +02:00
a765f45837 feat: add food delivery services 2025-08-07 18:51:13 +02:00
f02fb917bc fix: make messenger work 2025-07-01 19:55:18 +02:00
692a4cc634 feat: add facebook to whitelist 2025-07-01 17:50:20 +02:00
15bd7ee454 feat: added brave to the list of blocked websites 2025-06-23 11:49:43 +02:00
c64bee1e77 feat: make the install hosts script immutable readonly aand append only 2025-06-15 18:32:32 +02:00
8c8f68ea02 feat: block store steampowered 2025-06-08 15:41:20 +02:00
6c01970758 feat: whitelist some sites 2025-06-06 17:00:02 +02:00
23c190ff25 feat: discord and youtube blokced in hosts 2025-06-05 20:50:03 +02:00
b631016975 fix: etc hosts permissions 2025-06-03 22:56:45 +02:00
dd09981735 feat: use more extensive blocked hosts source 2025-06-03 22:48:17 +02:00
1ab7a9f941 feat: make etc hosts more restrictive 2025-06-03 22:41:00 +02:00
ad1391956f feat: add ignore packages block minecraft hosts and do not reinstall latex packages 2025-02-01 21:19:00 +01:00
f699d2ba46 chore: block discord too 2025-01-03 11:17:04 +01:00
8f1d35ba6e feat: activate systemd resolve 2024-12-28 14:02:23 +01:00
ae7438edb7 chore: added block youtube 2024-12-27 21:51:35 +01:00
124e84a93c feat: block websites uising etc hosts 2024-12-27 21:49:30 +01:00