blob: adc03ce3fd0ceeed6555acf08b393f1c5152c1a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- a/wmacpimon.c 2004-07-08 14:16:22.184359328 +0200
+++ b/wmacpimon.c 2004-07-08 14:15:59.677780848 +0200
@@ -314,7 +314,7 @@
acpinfo = calloc(1, sizeof(ACPInfo));
dockapp->blink = OFF;
init_acpinfo();
- strcpy(prcfile, ".wmacpimon.prc");
+ strcpy(prcfile, "/var/tmp/wmacpimon.prc");
/* parse command-line options */
while ((ch = getopt(argc, argv, "pd:b:c:s:h")) != EOF) {
@@ -345,7 +345,7 @@
printf("wmacpimon v%s (c) 2002 Costantino Pistagna (valvoline@vrlteam.org)\n"
"usage: wmacpimon [-d] [-b] [-p] [-c] [-s]\n\n"
"-d display\tdisplay on remote display <display>\n"
- "-b value\tprcfile for wmacpimond comunication (default: ~/.wmacpimon.prc)\n"
+ "-b value\tprcfile for wmacpimond comunication (default: /var/tmp/wmacpimon.prc)\n"
"-p\t\tset powersave mode\n"
"-c value\tset critical level (default to 10)\n"
"-s value\tshutdown pc when battery value (percent) has reached\n"
|