diff --git a/config.h b/config.h index c7c9d6c86f2defa89968b97cac3dbbb56460dc0c..f3932ec7a453a936b7fe7d8c864dc02ac8ee6b8a 100644 --- a/config.h +++ b/config.h @@ -1594,8 +1594,10 @@ /* type to use in place of socklen_t if not defined */ /* #undef socklen_t */ +#ifndef SSHDIR #define SSHDIR "/data/ssh" +#endif -#define _PATH_PRIVSEP_CHROOT_DIR "/data/ssh/empty" +#define _PATH_PRIVSEP_CHROOT_DIR SSHDIR "/empty" #define _PATH_SSH_PROGRAM "/system/bin/sftp"