2024-09-17 14:11:00 +03:00
|
|
|
#!/bin/sh
|
|
|
|
set -f
|
|
|
|
|
|
|
|
. /image-entry.d/00-common.envsh
|
|
|
|
|
2024-09-18 09:58:19 +03:00
|
|
|
conf=/etc/angie/autoconf.d/core-user.conf
|
2024-09-17 14:11:00 +03:00
|
|
|
|
|
|
|
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
|