]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
keepalived: use sh instead of bash for notifier scripts
authorIhar Hrachyshka <ihrachys@redhat.com>
Wed, 11 Feb 2015 16:10:10 +0000 (17:10 +0100)
committerIhar Hrachyshka <ihrachys@redhat.com>
Wed, 11 Feb 2015 16:10:10 +0000 (17:10 +0100)
commit7778edb92f11f20142dbf70f11dbefb2a8d73767
treee52633dae95268c41ac6859f4d2d14201c92f8c5
parente49abc97292beb40172417fa26a8cdd362d333c1
keepalived: use sh instead of bash for notifier scripts

Those scripts are pretty trivial, calling external commands and using
kill -s and $(...) construction. All that is available in POSIX shell,
so let's not use bash in shebang and utilize more performant shell in
case /bin/sh != /bin/bash (valid for Debian based systems).

Change-Id: Ib5264c5ef51ca9028d7c27d440104a5ab978a557
neutron/agent/linux/keepalived.py