69773b8cc5
This contains an OpenRC service that clears the RTC wake alarm. Users who don't want the RTC wake alarm to power on their phone from powered-off state can use this service to clear the alarm during shutdown. Fixes #1970 [ci:skip-build] already built successfully in CI
12 lines
185 B
Bash
12 lines
185 B
Bash
#!/bin/sh
|
|
|
|
# Print usage instructions
|
|
cat << __EOF__
|
|
*
|
|
* To use this service, add it to the shutdown runlevel with:
|
|
*
|
|
* rc-update add clear-rtc-wakealarm shutdown
|
|
*
|
|
__EOF__
|
|
|
|
exit 0
|