summaryrefslogtreecommitdiff
path: root/units/suse
diff options
context:
space:
mode:
Diffstat (limited to 'units/suse')
-rw-r--r--units/suse/halt-local.service2
-rw-r--r--units/suse/rc-local.service2
2 files changed, 2 insertions, 2 deletions
diff --git a/units/suse/halt-local.service b/units/suse/halt-local.service
index 68cacc6658..796012c0c4 100644
--- a/units/suse/halt-local.service
+++ b/units/suse/halt-local.service
@@ -7,7 +7,7 @@
[Unit]
Description=/etc/init.d/halt.local Compatibility
-ConditionPathExists=/etc/init.d/halt.local
+ConditionFileIsExecutable=/etc/init.d/halt.local
DefaultDependencies=no
After=shutdown.target
Before=final.target
diff --git a/units/suse/rc-local.service b/units/suse/rc-local.service
index 38884c5cd3..fe4c00716e 100644
--- a/units/suse/rc-local.service
+++ b/units/suse/rc-local.service
@@ -7,7 +7,7 @@
[Unit]
Description=/etc/init.d/boot.local Compatibility
-ConditionPathExists=/etc/init.d/boot.local
+ConditionFileIsExecutable=/etc/init.d/boot.local
[Service]
Type=oneshot