From 59605bac4589a581d56e1f80a05d5b9f82034bb9 Mon Sep 17 00:00:00 2001 From: zimoch Date: Fri, 16 Apr 2004 08:07:12 +0000 Subject: [PATCH] put here from utilities these are EPICS dependend, utilities not --- Makefile | 1 + bootNotify.c | 54 ++++++++++++++++++++++++++++++++++++++++++++ iocCheck.c | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 119 insertions(+) create mode 100644 Makefile create mode 100644 bootNotify.c create mode 100644 iocCheck.c diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d30a28a --- /dev/null +++ b/Makefile @@ -0,0 +1 @@ +include /ioc/tools/driver.makefile diff --git a/bootNotify.c b/bootNotify.c new file mode 100644 index 0000000..02d1ddf --- /dev/null +++ b/bootNotify.c @@ -0,0 +1,54 @@ +/* bootNotify.c +* +* call a script on the boot PC and give it a lot of boot infos +* +* $Author: zimoch $ +* +* $Log: bootNotify.c,v $ +* Revision 1.1 2004/04/16 08:07:12 zimoch +* put here from utilities +* these are EPICS dependend, utilities not +* +* Revision 1.4 2004/04/02 14:52:15 zimoch +* generic ethernet address support added +* +* Revision 1.3 2003/03/20 14:57:50 zimoch +* upload of ethernet address added +* +* Revision 1.2 2003/03/18 08:03:28 zimoch +* debugged +* +* Revision 1.1 2003/02/18 17:26:59 zimoch +* split bootUntil.c into 3 parts +* +* +*/ +#include +#include +#include +#include + +extern char* epicsRelease1; + +int bootNotify (char* script, char* script2) +{ + char command[256]; + char epicsver[15]; + + if (script == NULL) + { + printErr ("usage: bootNotify [\"\",] \"