* Bug in a resume module script
@ 2020-07-02 11:23 Carlos Pinto
0 siblings, 0 replies; 2+ messages in thread
From: Carlos Pinto @ 2020-07-02 11:23 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA
Hey everyone,
I'm using Void Linux and if I have the resume module activated, I get a message early on boot saying:
//lib/dracut/hooks/pre-mount/10-resume.sh: line 20: echo: write error: Invalid argument
I managed to fix this with a small adjustment to /usr/lib/dracut/modules.d/95resume/resume.sh:
20c20
< echo "${maj%,}:$min"> /sys/power/resume)
---
> echo $maj:$min | tr -d , > /sys/power/resume)
Never had to submit a bug to such a big project, so I'm not sure if this is the place to do it.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Bug in a resume module script
@ 2020-07-02 12:00 Carlos Pinto
0 siblings, 0 replies; 2+ messages in thread
From: Carlos Pinto @ 2020-07-02 12:00 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA
Hey everyone,
I'm using Void Linux and if I have the resume module activated, I get a message early on boot saying:
//lib/dracut/hooks/pre-mount/10-resume.sh: line 20: echo: write error: Invalid argument
I managed to fix this with a small adjustment to /usr/lib/dracut/modules.d/95resume/resume.sh:
20c20
< echo "${maj%,}:$min"> /sys/power/resume)
---
> echo $maj:$min | tr -d , > /sys/power/resume)
Never had to submit a bug to such a big project, so I'm not sure if this is the place to do it.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-02 12:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-02 11:23 Bug in a resume module script Carlos Pinto
2020-07-02 12:00 Carlos Pinto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).