1
0
mirror of http://galexander.org/git/simplesshd.git synced 2025-01-03 19:50:55 +00:00

put the pid file under conf_path_file()

This commit is contained in:
Greg Alexander 2014-12-16 18:31:18 -05:00
parent 781af9c467
commit 834e994042

View File

@ -5,6 +5,8 @@
#ifndef _OPTIONS_H_
#define _OPTIONS_H_
extern const char *conf_path_file(const char *fn); /* in jni/interface.c */
/* Define compile-time options below - the "#ifndef DROPBEAR_XXX .... #endif"
* parts are to allow for commandline -DDROPBEAR_XXX options etc. */
@ -19,8 +21,6 @@
#define DROPBEAR_DEFADDRESS ""
#endif
extern const char *conf_path_file(const char *fn); /* in jni/interface.c */
/* Default hostkey paths - these can be specified on the command line */
#ifndef DSS_PRIV_FILENAME
#define DSS_PRIV_FILENAME conf_path_file("dropbear_dss_host_key")
@ -259,7 +259,7 @@ much traffic. */
/* The default file to store the daemon's process ID, for shutdown
scripts etc. This can be overridden with the -P flag */
#undef DROPBEAR_PIDFILE
#define DROPBEAR_PIDFILE conf_path_file("dropbear.pid")
/* The command to invoke for xauth when using X11 forwarding.
* "-q" for quiet */