systemd: do not use "systemd --version" until fixed
authorHarald Hoyer <harald@redhat.com>
Thu, 14 Mar 2013 18:03:20 +0000 (19:03 +0100)
committerHarald Hoyer <harald@redhat.com>
Fri, 15 Mar 2013 06:10:20 +0000 (07:10 +0100)
modules.d/98systemd/module-setup.sh

index f74ae88..17dbc44 100755 (executable)
@@ -18,11 +18,11 @@ depends() {
 install() {
     local _mods
 
-    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
-    fi
+#    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
+#    fi
 
     if strstr "$prefix" "/run/"; then
         dfatal "systemd does not work a prefix, which contains \"/run\"!!"