#! /bin/sh
# Generated by ../utrans from:
#  a57f3864c76a01082a50f8ffe3504b32ea3690b6d39124bb80efcd2cc010db80  ./input/systemd/exec-user-nobody.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-user-nobody
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 
# Default-Stop: 
# Description: Test for User
### END INIT INFO
DESC="Test for User"
DAEMON="none"
NAME="exec-user-nobody"
TYPE="oneshot"
set -a
USER='nobody'
LOGNAME='nobody'
HOME='/nonexistent'
SHELL='/usr/sbin/nologin'
set +a
do_start_cmd_override() {
  runuser -u nobody -- sh -x -c 'test "$USER" = "nobody"'
}
