diff options
-rw-r--r-- | init.d/local.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d/local.in b/init.d/local.in index 63f85986..254135c8 100644 --- a/init.d/local.in +++ b/init.d/local.in @@ -20,7 +20,7 @@ start() for file in @SYSCONFDIR@/local.d/*.start; do if [ -x "${file}" ]; then vebegin "Executing \"${file}\"" - "${file}" $redirect + eval "${file}" $redirect retval=$? if [ ${retval} -ne 0 ]; then has_errors=1 @@ -59,7 +59,7 @@ stop() for file in @SYSCONFDIR@/local.d/*.stop; do if [ -x "${file}" ]; then vebegin "Executing \"${file}\"" - "${file}" $redirect + eval "${file}" $redirect retval=$? if [ ${retval} -ne 0 ]; then has_errors=1 |