mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-17 01:02:12 +00:00
fs_cli: fix default location of CLI history
Modern linux systems don't write volatile information to /etc.
This commit is contained in:
parent
1e93151b79
commit
05046e005e
@ -943,7 +943,7 @@ int main(int argc, char *argv[])
|
|||||||
char cmd_str[1024] = "";
|
char cmd_str[1024] = "";
|
||||||
cli_profile_t *profile = NULL;
|
cli_profile_t *profile = NULL;
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
char hfile[512] = "/etc/fs_cli_history";
|
char hfile[512] = "/tmp/fs_cli_history";
|
||||||
char cfile[512] = "/etc/fs_cli.conf";
|
char cfile[512] = "/etc/fs_cli.conf";
|
||||||
char dft_cfile[512] = "/etc/fs_cli.conf";
|
char dft_cfile[512] = "/etc/fs_cli.conf";
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user