mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 14:43:01 +02:00
- install.sh: install sleep-hook.sh to systemd-sleep hooks (step 3) and shutdown-wrapper.sh to /usr/local/bin/shutdown (step 5) - shutdown-wrapper.sh: new script that intercepts shutdown calls and redirects to rtcwake -m disk on alarm nights (Mon/Fri/Sat/Sun), pass- through for reboots and cancel commands - sleep-hook.sh: new systemd-sleep hook that restarts wake-alarm.service for each logged-in user after hibernate resume - setup_midnight_shutdown.sh: check wake-alarm day; if yes set RTC alarm and hibernate, otherwise fall back to systemctl poweroff |
||
|---|---|---|
| .. | ||
| lib | ||
| meta | ||
| periodic_background | ||
| single_use | ||