aws: Re-enable check if we are actually running on EC2

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2018-07-01 11:52:54 +01:00
parent 9a56118b61
commit 464c27554c

View File

@@ -31,7 +31,7 @@ running_on_ec2() {
case "${1}" in
start)
# Do nothing if we are not running on AWS EC2
#running_on_ec2 || exit 0
running_on_ec2 || exit 0
# Find the first interface to use
for i in /sys/class/net/*; do