Allow to change config file (sub)directory

This allows the `xrdp` part of the path `/etc/xrdp` where config files
are placed to be customizable. This change is useful when trying the
stable version and the devel version alternately.
This commit is contained in:
Koichiro Iwao
2024-12-27 10:34:16 +09:00
parent 54a6bf11d7
commit 75736f4853
28 changed files with 43 additions and 33 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ xrdp_droppriv_LDADD = \
SUBST_VARS = sed \
-e 's|@pkglibexecdir[@]|$(pkglibexecdir)|g' \
-e 's|@sysconfdir[@]|$(sysconfdir)|g'
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \
-e 's|@sysconfsubdir[@]|$(sysconfsubdir)|g'
subst_verbose = $(subst_verbose_@AM_V@)
subst_verbose_ = $(subst_verbose_@AM_DEFAULT_V@)
+1 -1
View File
@@ -20,7 +20,7 @@
# mode
# Change these if they do not match your installation
CONF_DIR=@sysconfdir@/xrdp
CONF_DIR=@sysconfdir@/@sysconfsubdir@
XRDP_INI="$CONF_DIR"/xrdp.ini
SESMAN_INI="$CONF_DIR"/sesman.ini
RSAKEYS_INI="$CONF_DIR"/rsakeys.ini