From 1b0130961ebc308bba4c9ced3988558bfac103d9 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Wed, 7 Nov 2012 00:22:33 +0000 Subject: checkbashisms: clean up export statements. Signed-off-by: Robin H. Johnson --- support/openvpn/down.sh | 3 ++- support/openvpn/up.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'support/openvpn') diff --git a/support/openvpn/down.sh b/support/openvpn/down.sh index 4e749372..93dd53ca 100755 --- a/support/openvpn/down.sh +++ b/support/openvpn/down.sh @@ -18,7 +18,8 @@ fi # Re-enter the init script to stop any dependant services if [ -x "${RC_SERVICE}" ]; then if "${RC_SERVICE}" --quiet status; then - export IN_BACKGROUND=YES + IN_BACKGROUND=YES + export IN_BACKGROUND "${RC_SERVICE}" --quiet stop fi fi diff --git a/support/openvpn/up.sh b/support/openvpn/up.sh index c52ea048..f207dce0 100755 --- a/support/openvpn/up.sh +++ b/support/openvpn/up.sh @@ -64,7 +64,8 @@ fi # Re-enter the init script to start any dependant services if [ -x "${RC_SERVICE}" ]; then if ! "${RC_SERVICE}" --quiet status; then - export IN_BACKGROUND=true + IN_BACKGROUND=YES + export IN_BACKGROUND "${RC_SERVICE}" --quiet start fi fi -- cgit v1.2.3