zulip/servers/puppet/modules/humbug/files/zulip-ec2-configure-interfa...

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