* and then waits for it to exit.
*
* $Log$
- * Revision 1.1 1987-06-01 03:35:33 wesommer
- * Initial revision
+ * Revision 1.3 1987-08-22 17:30:58 wesommer
+ * Changed path used to start server.
*
+ * Revision 1.2 87/06/02 20:08:16 wesommer
+ * Changed logging, location of daemon to run.
+ *
+ * Revision 1.1 87/06/01 03:35:33 wesommer
+ * Initial revision
+ *
*/
#ifndef lint
#endif lint
#include <stdio.h>
+#include <strings.h>
#include <sys/types.h>
#include <sys/file.h>
#include <sys/wait.h>
#define SMS_LOG_FILE "/u1/sms/sms.log"
-#define SMS_PROG "/u1/sms/rpc/smsd"
+#define SMS_PROG "/u1/sms/bin/smsd"
int rdpipe[2];
char *sigdescr[] = {
time(&foo);
time_s = ctime(&foo)+4;
time_s[strlen(time_s)-6]='\0';
- fprintf(log, "%s %s", time_s, buf);
+ fprintf(log, "%s <%d> %s", time_s, pid, buf);
fflush(log);
} while (!done);
+ exit(0);
}