From 05046e005e95c99bbb2c5b667a75423a52be7a22 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Thu, 22 Sep 2011 05:03:22 +0000 Subject: [PATCH] fs_cli: fix default location of CLI history Modern linux systems don't write volatile information to /etc. --- libs/esl/fs_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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