Skip to content

Commit

Permalink
fix(resume): resume using /usr/lib64/suspend
Browse files Browse the repository at this point in the history
Now resume binary is detected in case it is at
/usr/lib64/suspend (like it happens in Gentoo).
  • Loading branch information
jmfernandez authored and johannbg committed Nov 24, 2021
1 parent e8c18c9 commit c459373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules.d/95resume/module-setup.sh
Expand Up @@ -50,7 +50,7 @@ install() {
fi

# Optional uswsusp support
for _bin in /usr/sbin/resume /usr/lib/suspend/resume /usr/lib/uswsusp/resume; do
for _bin in /usr/sbin/resume /usr/lib/suspend/resume /usr/lib64/suspend/resume /usr/lib/uswsusp/resume /usr/lib64/uswsusp/resume; do
[[ -x $dracutsysrootdir${_bin} ]] && {
inst "${_bin}" /usr/sbin/resume
[[ $hostonly ]] && [[ -f $dracutsysrootdir/etc/suspend.conf ]] && inst -H /etc/suspend.conf
Expand Down

0 comments on commit c459373

Please sign in to comment.