File:
[ELWIX - Embedded LightWeight unIX -] /
embedtools /
src /
rcd.c
Revision
1.2:
download - view:
text,
annotated -
select for diffs -
revision graph
Wed Jun 8 12:45:41 2011 UTC (13 years, 2 months ago) by
misho
Branches:
MAIN
CVS tags:
tools3_0,
tools2_9,
tools2_8,
tools2_7,
tools2_6,
tools2_5,
tools2_4,
tools2_3,
tools2_2,
tools2_1,
tools2_0,
tools1_2,
tools1_1,
TOOLS2_9,
TOOLS2_8,
TOOLS2_7,
TOOLS2_6,
TOOLS2_5,
TOOLS2_4,
TOOLS2_3,
TOOLS2_2,
TOOLS2_1,
TOOLS2_0,
TOOLS1_2,
TOOLS1_1,
TOOLS1_0,
HEAD
new ver
1: #include "global.h"
2:
3:
4: int Verbose, Mode;
5: extern char compiled[], compiledby[], compilehost[];
6:
7:
8: static void Usage()
9: {
10: printf("-= RC.D =- service manager for system\n"
11: "=== %s === %s@%s ===\n\n"
12: "Syntax: rcd [option] <mode> <input_file | ->\n\n"
13: "\tMode:: create\t\tCreate service\n"
14: "\tMode:: update\t\tUpdate service\n"
15: "\tMode:: start\t\tStart service\n"
16: "\tMode:: stop\t\tStop service\n"
17: "\t-v\t\t\tVerbose (more -v more verbosity)\n"
18: "\t-a\t\t\tActivate service in create|update mode\n"
19: "\t-d\t\t\tDeactivate service in create|update mode\n"
20: "\n", compiled, compiledby, compilehost);
21: }
22:
23: // ----------------------------------------------------
24:
25: int main(int argc, char **argv)
26: {
27: return 0;
28: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>