From: Travis Cross Date: Thu, 22 Sep 2011 05:03:22 +0000 (+0000) Subject: fs_cli: fix default location of CLI history X-Git-Tag: v1.2-rc1~51^2~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05046e005e95c99bbb2c5b667a75423a52be7a22;p=thirdparty%2Ffreeswitch.git fs_cli: fix default location of CLI history Modern linux systems don't write volatile information to /etc. --- diff --git a/libs/esl/fs_cli.c b/libs/esl/fs_cli.c index 62745e03a3..d98edd267e 100644 --- a/libs/esl/fs_cli.c +++ b/libs/esl/fs_cli.c @@ -943,7 +943,7 @@ int main(int argc, char *argv[]) char cmd_str[1024] = ""; cli_profile_t *profile = NULL; #ifndef WIN32 - char hfile[512] = "/etc/fs_cli_history"; + char hfile[512] = "/tmp/fs_cli_history"; char cfile[512] = "/etc/fs_cli.conf"; char dft_cfile[512] = "/etc/fs_cli.conf"; #else