#! /bin/sh
# Generated by ../utrans from:
#  77f49e74b66e53f6cc9a71fe8ee3cbb03f8889eeaf84ce4f9b385bfdfdc01aa8  ./input/systemd/exec-environmentfile.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-environmentfile
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 
# Default-Stop: 
# Description: Test for EnvironmentFile
### END INIT INFO
DESC="Test for EnvironmentFile"
DAEMON="none"
NAME="exec-environmentfile"
TYPE="oneshot"
set -a
. /dev/stdin <<EOF
$(sed -z 's#[[:space:]]*\\\n#\\#g' /tmp/test-exec_environmentfile.conf | grep '^[[:space:]]*[^#;].\+=')
EOF
set +a
do_start_cmd_override() {
  sh -x -c 'test "$VAR1" = "word1 word2" && test "$VAR2" = word3 && test "$VAR3" = "\$word 5 6" && test "$VAR4" = "new\nline" && test "$VAR5" = passwordwithbackslashes && test "$VAR6" = test\ continuation\ lines'
}
