Probably I had an error in the code, although no error was raised (or at least I didn't catch it):
```
if [ -z "${DEVICE}" ]; then # _set_available_devices_to_up
fi
```
An empty if-statement is not valid (at least in BASH it's not acceptable).
Trying to correct to:
```
if [ -z "${DEVICE}" ]; then # _set_available_devices_to_up local dummyvar=1
fi
Probably I had an error in the code, although no error was raised (or at least I didn't catch it):
# _set_available_ devices_ to_up
```
if [ -z "${DEVICE}" ]; then
fi
```
An empty if-statement is not valid (at least in BASH it's not acceptable).
Trying to correct to:
# _set_available_ devices_ to_up
local dummyvar=1
```
if [ -z "${DEVICE}" ]; then
fi
```