summaryrefslogtreecommitdiffstats
path: root/core/modules/busybox
diff options
context:
space:
mode:
authorSimon Rettberg2017-11-27 13:47:13 +0100
committerSimon Rettberg2017-11-27 13:47:13 +0100
commit4ef8b1cb2d9eb6af847f67cbbd4721972b3d90de (patch)
tree4b33043ebac87f2f4b4e6bdd06044ffc3387e400 /core/modules/busybox
parentI'm just an idiot (diff)
downloadmltk-4ef8b1cb2d9eb6af847f67cbbd4721972b3d90de.tar.gz
mltk-4ef8b1cb2d9eb6af847f67cbbd4721972b3d90de.tar.xz
mltk-4ef8b1cb2d9eb6af847f67cbbd4721972b3d90de.zip
afgsfdgds
Diffstat (limited to 'core/modules/busybox')
-rw-r--r--core/modules/busybox/rtcwake-mode-no.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/core/modules/busybox/rtcwake-mode-no.patch b/core/modules/busybox/rtcwake-mode-no.patch
index 85d60348..ae47a990 100644
--- a/core/modules/busybox/rtcwake-mode-no.patch
+++ b/core/modules/busybox/rtcwake-mode-no.patch
@@ -3,14 +3,14 @@ index 8aee0cf..0082e29 100644
--- a/util-linux/rtcwake.c
+++ b/util-linux/rtcwake.c
@@ -211,6 +211,11 @@ int rtcwake_main(int argc UNUSED_PARAM, char **argv)
- fflush_all();
- usleep(10 * 1000);
+ fflush_all();
+ usleep(10 * 1000);
-+ if (strcmp(suspend, "no") == 0) {
-+ printf("just setting alarm, no powersaving mode requested\n");
-+ return EXIT_SUCCESS;
-+ }
++ if (strcmp(suspend, "no") == 0) {
++ printf("just setting alarm, no powersaving mode requested\n");
++ return EXIT_SUCCESS;
++ }
+
- if (strcmp(suspend, "on") != 0)
- xopen_xwrite_close(SYS_POWER_PATH, suspend);
- else {
+ if (strcmp(suspend, "on") != 0)
+ xopen_xwrite_close(SYS_POWER_PATH, suspend);
+ else {