fix(resume): resume using /usr/lib64/suspend

Now resume binary is detected in case it is at
/usr/lib64/suspend (like it happens in Gentoo).
master
José María Fernández 2021-09-17 23:57:08 +02:00 committed by Jóhann B. Guðmundsson
parent e8c18c9f7f
commit c459373448
1 changed files with 1 additions and 1 deletions

View File

@ -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