summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-05-05 17:34:54 +0100
committerRoy Marples <roy@marples.name>2020-05-05 17:34:54 +0100
commitcc4dd2f1349fb2ba76cd43bc7934c198cce172c2 (patch)
tree24fe848833709b94723a4fe555ff0028e5d51b66 /configure
parent1ad6c18f3eb8fd37870b9c7d9192f84d41c7744a (diff)
downloaddhcpcd-cc4dd2f1349fb2ba76cd43bc7934c198cce172c2.tar.xz
privsep: Document any overridden chroot directory.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 1b6387b7..58fcd808 100755
--- a/configure
+++ b/configure
@@ -583,6 +583,7 @@ if [ "$PRIVSEP" = yes ]; then
echo "PRIVSEP_USER?= $PRIVSEP_USER" >>$CONFIG_MK
if [ -n "$PRIVSEP_CHROOT" ]; then
echo "PRIVSEP_CHROOT= $PRIVSEP_CHROOT" >>$CONFIG_MK
+ echo "SED_CHROOT= -e 's:@CHDIR^@.*@CHDIR\$\$@:default of:g' -e 's:@CHDIR@:.Pa \${PRIVSEP_CHROOT} .:g'" >>$CONFIG_MK
fi
echo "#ifndef PRIVSEP_USER" >>$CONFIG_H
echo "#define PRIVSEP_USER \"$PRIVSEP_USER\"" >>$CONFIG_H