diff options
author | Harald Hoyer <harald@redhat.com> | 2013-03-08 11:50:03 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-03-08 11:50:03 +0100 |
commit | 900e15da342db2675d7ccd3ca17907bc6ec8cfc5 (patch) | |
tree | 3abd342d38b24362538976cc648e834a9bfb0b85 /modules.d | |
parent | 19d69051a3c2bf5f3d0660cea862bd660fdee149 (diff) | |
download | dracut-900e15da342db2675d7ccd3ca17907bc6ec8cfc5.tar.gz dracut-900e15da342db2675d7ccd3ca17907bc6ec8cfc5.tar.bz2 dracut-900e15da342db2675d7ccd3ca17907bc6ec8cfc5.zip |
systemd/module-setup.sh: call systemd in private dir for version
Diffstat (limited to 'modules.d')
-rwxr-xr-x | modules.d/98systemd/module-setup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/98systemd/module-setup.sh b/modules.d/98systemd/module-setup.sh index 3ce1705e..32d4be58 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 |