summaryrefslogtreecommitdiff
path: root/comms/smstools3/files/patch-src_smsd_cfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'comms/smstools3/files/patch-src_smsd_cfg.c')
-rw-r--r--comms/smstools3/files/patch-src_smsd_cfg.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/comms/smstools3/files/patch-src_smsd_cfg.c b/comms/smstools3/files/patch-src_smsd_cfg.c
new file mode 100644
index 000000000000..df03fec70086
--- /dev/null
+++ b/comms/smstools3/files/patch-src_smsd_cfg.c
@@ -0,0 +1,20 @@
+--- src/smsd_cfg.c Fri Apr 21 11:25:01 2006
++++ src/smsd_cfg.c Fri Apr 21 11:27:51 2006
+@@ -387,7 +387,7 @@
+ printf(" -h this help\n");
+ printf(" -s display status monitor\n");
+ printf(" -V print copyright and version\n\n");
+- printf("All other options are set by the file /etc/smsd.conf.\n\n");
++ printf("All other options are set by the file %%PREFIX%%/etc/smsd.conf.\n\n");
+ printf("Output is written to stdout, errors are written to stderr.\n\n");
+ exit(0);
+ }
+@@ -395,7 +395,7 @@
+ void parsearguments(int argc,char** argv)
+ {
+ int result;
+- strcpy(configfile,"/etc/smsd.conf");
++ strcpy(configfile,"%%PREFIX%%/etc/smsd.conf");
+ printstatus=0;
+
+ do