Files
zulip/puppet/zulip-internal/files/zulip-ec2-configure-interfaces_if-up.d.sh
Zev Benjamin dd678465ae [manual] Move puppet modules to the top level
The new puppet.conf file has to be moved into place manually.

(imported from commit 253d9a95386dae8c803a998ce2dc7e8be40c880a)
2013-10-30 15:42:26 -04:00

14 lines
225 B
Bash
Executable File

#! /bin/sh
# Run zulip-ec2-configure-interfaces when eth0 is brought up
set -e
# Only run from ifup.
if [ "$MODE" != start ]; then
exit 0
fi
if [ "$IFACE" = eth0 ]; then
/usr/local/sbin/zulip-ec2-configure-interfaces
fi