#! /bin/sh
# Generated by ../utrans from:
#  039dcf48ee6c296011bfd5b0dc14c80ab5eff4d782f688abf5b666ed175bbd83  ./input/systemd/exec-environment-no-substitute.service

# kFreeBSD does not accept scripts as interpreters, using #!/bin/sh and sourcing.
if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then
   set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
fi
### BEGIN INIT INFO
# Provides: exec-environment-no-substitute
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 
# Default-Stop: 
# Description: Test for No Environment Variable Substitution
### END INIT INFO
DESC="Test for No Environment Variable Substitution"
DAEMON="none"
NAME="exec-environment-no-substitute"
TYPE="oneshot"
set -a
VAR2='word3'
VAR3='$word 5 6'
set +a
do_start_cmd_override() {
  sh -x -c 'test "${VAR1-unset}" = "unset" && test "${VAR2}" = "word3" && test "${VAR3-unset}" = '\''$word 5 6'\'''
  /bin/sh -x -c 'test "\${VAR1-unset}" != "unset" && test "\${VAR2}" != "word3" && test "\${VAR3-unset}" != '\''\$word 5 6'\'''
}
