Commit 7046eff2 authored by Mike Hibler's avatar Mike Hibler

Refine the check for systemd which is in a different place on Centos 7.x.

parent 22e7bb7a
......@@ -31,7 +31,7 @@ touch /var/lock/subsys/tbprepare
# an S89tbprepare link. So we make sure systemd thinks it got started, and
# then the K89tbprepare links will be run appropriately...
#
if [ -x /bin/systemd ]; then
if [ -x /bin/systemd -o -x /lib/systemd/systemd ]; then
echo "Emulab scheduling tbprepare to run via systemd."
systemctl start tbprepare.service
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment