17 lines
274 B
Bash
Executable File
17 lines
274 B
Bash
Executable File
#!/bin/sh
|
|
set -f
|
|
|
|
. /image-entry.d/00-common.envsh
|
|
|
|
conf=/etc/angie/conf.d/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
|