From: Harald Hoyer Date: Fri, 8 Mar 2013 10:50:03 +0000 (+0100) Subject: systemd/module-setup.sh: call systemd in private dir for version X-Git-Tag: 027~80 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=900e15da342db2675d7ccd3ca17907bc6ec8cfc5;p=thirdparty%2Fdracut.git systemd/module-setup.sh: call systemd in private dir for version --- diff --git a/modules.d/98systemd/module-setup.sh b/modules.d/98systemd/module-setup.sh index 3ce1705e1..32d4be585 100755 --- a/modules.d/98systemd/module-setup.sh +++ b/modules.d/98systemd/module-setup.sh @@ -17,7 +17,7 @@ depends() { install() { - SYSTEMD_VERSION=$(systemd --version | { read a b a; echo $b; }) + SYSTEMD_VERSION=$($systemdutildir/systemd --version | { read a b a; echo $b; }) if (( $SYSTEMD_VERSION < 198 )); then dfatal "systemd version $SYSTEMD_VERSION is too low. Need at least version 198." exit 1