| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
- Introduce 'no' option for -m to just set alarm without standby
- Introduce 'disable' option for -m to delete any current alarm
- When unsetting alarm, apply same logic as in setup_alarm regarding
which kind of alarm to set (or disable in this case). Note that
"-m disable" will clear both alarm types.
- Default to /dev/rtc0 since using /dev/rtc was broken (couldn't determine
wake support and bailed out).
|
|
|
|
|
|
|
|
|
|
| |
1) This is what rtcwake from util-linux does
2) While /dev/rtc is usually a symlink to /dev/rtc0,
/sys/class/rtc/%s/device/power/wakeup doesn't exist
for rtc (no symlink under /sys/class/rtc), so bb rtcwake
will bail out early claiming the selected rtc does not
support wakeup alarms, while really it just didn't find
a file to check for support.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
github misidentifies lots of includes in its code stats and
syntax highlighting. Try to make it a nicer place by giving
it a hint via that shebang. It's actually useless in files
that are being sourced, but it doesn't hurt either.
|
|
|
|
| |
f5a59daf8d70a9027118292cd40b18c221897408)
|
|
|