summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-04-30 21:13:45 +0100
committerRoy Marples <roy@marples.name>2020-04-30 21:13:45 +0100
commit949d0f9aee6aefa461c949262202af12fa8143cf (patch)
treea5b0bd6b799e59714196e5774b67f239c7162b86 /configure
parent257dae21343e899ad2667aac9b981fa427b7541b (diff)
downloaddhcpcd-949d0f9aee6aefa461c949262202af12fa8143cf.tar.xz
privsep: Add --chroot configurable
Overrides the directory to chroot to away from the privilege separation users home directory.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 203b2ba0..3e2e20fd 100755
--- a/configure
+++ b/configure
@@ -578,6 +578,7 @@ if [ "$PRIVSEP" = yes ]; then
fi
echo "CPPFLAGS+= -DPRIVSEP" >>$CONFIG_MK
+ echo "PRIVSEP_USER?= $PRIVSEP_USER" >>$CONFIG_MK
echo "#ifndef PRIVSEP_USER" >>$CONFIG_H
echo "#define PRIVSEP_USER \"$PRIVSEP_USER\"" >>$CONFIG_H
echo "#endif" >>$CONFIG_H