summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUmut Tezduyar Lindskog <umut.tezduyar@axis.com>2014-07-30 09:02:14 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-08-03 00:33:01 -0400
commite72f054eb531418f99cd6d1d48d3542d1f95e07d (patch)
treee6fab160e3251bfe4cd0393010c7c8e661d4d2b3
parent7bed7f0e3b1f9596aedb64657e432e5b267adebb (diff)
ldconfig: dont run it if ldconfig is not installed
-rw-r--r--units/ldconfig.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/ldconfig.service b/units/ldconfig.service
index 43c145b726..09a2b7458f 100644
--- a/units/ldconfig.service
+++ b/units/ldconfig.service
@@ -13,6 +13,7 @@ Conflicts=shutdown.target
After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service
Before=sysinit.target shutdown.target systemd-update-done.service
ConditionNeedsUpdate=/etc
+ConditionFileIsExecutable=/sbin/ldconfig
[Service]
Type=oneshot