rc-local: no need to check if the script is executable

rc-local.service is pulled in by a generator only if the script is
executable. No need to check again.
This commit is contained in:
Michal Schmidt 2011-12-02 11:32:04 +01:00
parent 1567308317
commit e951701a4d
2 changed files with 0 additions and 2 deletions

View File

@ -9,7 +9,6 @@
# systemd-rc-local-generator if /etc/rc.d/rc.local is executable.
[Unit]
Description=/etc/rc.d/rc.local Compatibility
ConditionFileIsExecutable=/etc/rc.d/rc.local
[Service]
Type=forking

View File

@ -9,7 +9,6 @@
# systemd-rc-local-generator if /etc/init.d/boot.local is executable.
[Unit]
Description=/etc/init.d/boot.local Compatibility
ConditionFileIsExecutable=/etc/init.d/boot.local
[Service]
Type=oneshot