]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
systemd: Fix activation of default units.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 3 Mar 2012 12:40:29 +0000 (13:40 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 3 Mar 2012 12:40:29 +0000 (13:40 +0100)
The full path to the systemctl binary was missing,
so the command wasn't correctly executed.

Fixes #10033

systemd/systemd.nm

index 94d350bf1f501cc7b3c3aaee9cbd67ea75dd1d0f..352bf45b9bc8014cd147f52136ec6996a1c6d083 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = systemd
 version    = 37
-release    = 2
+release    = 3
 
 maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
 groups     = System/Base
@@ -161,21 +161,21 @@ packages
 
                script postin
                        # Enable default services.
-                       systemctl enable \
+                       /bin/systemctl enable \
                                getty@.service \
                                remote-fs.target > /dev/null 2>&1 || :
                end
 
                script preun
                        # Disable default services.
-                       systemctl disable \
+                       /bin/systemctl disable \
                                getty@.service \
                                remote-fs.target > /dev/null 2>&1 || :
                end
 
                script postup
                        # Reload service files
-                       systemctl daemon-reload > /dev/null 2>&1 || :
+                       /bin/systemctl daemon-reload > /dev/null 2>&1 || :
                end
        end