Browse Source

systemd/module-setup.sh: call systemd in private dir for version

master
Harald Hoyer 12 years ago
parent
commit
900e15da34
  1. 2
      modules.d/98systemd/module-setup.sh

2
modules.d/98systemd/module-setup.sh

@ -17,7 +17,7 @@ depends() { @@ -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

Loading…
Cancel
Save