1
0
Files
angie-conv-image/image-entry.d/75-adjust-core-user.sh
2025-06-05 11:01:19 +03:00

17 lines
277 B
Bash
Executable File

#!/bin/sh
set -f
. /run/ngx/iep/00-common.envsh
conf=/run/ngx/conf/autoconf/core-user.conf
if [ "${IEP_ROOT}" = 1 ] ; then
log "Running as root, no need to adjust configuration"
exit 0
fi
log_always "Running as non-root, adjusting configuration"
rm -fv "${conf}"
exit 0