diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2011-09-24 13:04:09 +0200 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2011-09-26 10:57:36 -0400 |
commit | e1afcc44754dab8adc7dd1099fbea61b941e52d9 (patch) | |
tree | 6398eb676004baf89527c919e297fb6eb06c78c6 /prefdm | |
parent | 09bfb5033230e6846414bc6002aa12ce09c23687 (diff) | |
download | initscripts-e1afcc44754dab8adc7dd1099fbea61b941e52d9.tar initscripts-e1afcc44754dab8adc7dd1099fbea61b941e52d9.tar.gz initscripts-e1afcc44754dab8adc7dd1099fbea61b941e52d9.tar.bz2 initscripts-e1afcc44754dab8adc7dd1099fbea61b941e52d9.tar.xz initscripts-e1afcc44754dab8adc7dd1099fbea61b941e52d9.zip |
do not check for the existence of a systemd unit before redirecting
It is wrong to look only in /lib/systemd/system. systemd can handle
units in several other directories as well.
The check is needless. Simply redirect everything that's not a SysV
service and let systemctl report an error if it's invalid.
Diffstat (limited to 'prefdm')
0 files changed, 0 insertions, 0 deletions