aboutsummaryrefslogtreecommitdiff
path: root/init.d/net.lo.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/net.lo.in')
-rw-r--r--init.d/net.lo.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/init.d/net.lo.in b/init.d/net.lo.in
index 9b6bf645..66e19456 100644
--- a/init.d/net.lo.in
+++ b/init.d/net.lo.in
@@ -41,7 +41,9 @@ depend()
done
}
-_array_helper() {
+# Support bash arrays - sigh
+_array_helper()
+{
local _a=
eval _a=\$$1
@@ -50,7 +52,6 @@ _array_helper() {
[ -n "${_a}" ] && printf "%s\n" "${_a}"
}
-# Support bash arrays - sigh
_get_array()
{
local _a=