mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
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:
@@ -31,7 +31,7 @@ running_on_ec2() {
|
|||||||
case "${1}" in
|
case "${1}" in
|
||||||
start)
|
start)
|
||||||
# Do nothing if we are not running on AWS EC2
|
# 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
|
# Find the first interface to use
|
||||||
for i in /sys/class/net/*; do
|
for i in /sys/class/net/*; do
|
||||||
|
|||||||
Reference in New Issue
Block a user