Serj Kalichev
|
04b1b50125
Close unneeded descriptors
|
14 years ago |
Serj Kalichev
|
138b10ba64
Fix issue #15. The default_shebang in STARTUP tag is implemented.
|
14 years ago |
Serj Kalichev
|
496654bf7b
The shebang for the ACTION was implemented. Issue #15.
|
14 years ago |
Serj Kalichev
|
6073c2c287
New ping and route commands implementation in xml-examples. Regards to lff.
|
14 years ago |
Serj Kalichev
|
3c5f954934
Fix XML schema. The examples is validated now.
|
14 years ago |
Serj Kalichev
|
0d6eb48a10
Fix XML schema structure.
|
14 years ago |
Serj Kalichev
|
06fa60f5a6
Remove unneeded files.
|
14 years ago |
Serj Kalichev
|
1441376ed5
Simplify klish xml-examples infrastructure.
|
14 years ago |
Serj Kalichev
|
aa35c4b919
Fix konfd daemon behaviour. It remove its socket from filesystem.
|
14 years ago |
Serj Kalichev
|
f947f5c11b
Use getopt_long() for utilities if getopt.h exists.
|
14 years ago |
Serj Kalichev
|
4274b34a44
Implement -w and -i clish options to set startup view and viewid.
|
14 years ago |
Serj Kalichev
|
2cf9cd656d
Implement -x clish utility option to set path to get XMLs from.
|
14 years ago |
Serj Kalichev
|
a1df9b1b25
Implement --dry-run (-d) option for clish. The ACTION will not be actually executed. Fix version number of clish.
|
14 years ago |
Serj Kalichev
|
96d51f14c6
Implement -e option for clish binary. It's stop on error flag. By default - no stop on error.
|
14 years ago |
Serj Kalichev
|
a941ca386a
Fix file stack to get commands from. The shell can be inited without instream.
|
14 years ago |
Serj Kalichev
|
b3360a7ca6
More reentrant code. The strtok() is replaced by strtok_r(). Fix issue #31.
|
14 years ago |
Serj Kalichev
|
e1d3d3592d
The internal variables is available for 'test' in the nested parameters.
|
14 years ago |
Serj Kalichev
|
db72aa7235
Use viewid while 'test' conditions expanding.
|
14 years ago |
Serj Kalichev
|
34ce492654
Fix 'test' problem with prefixed PARAM.
|
14 years ago |
Serj Kalichev
|
f9577c53bd
Ignore parameters with failed conditions
|
14 years ago |
Serj Kalichev
|
fa109feae3
The 'test' field for PARAM
|
14 years ago |
Serj Kalichev
|
acf6aaf536
Add 'test' utility implementation from OpenBSD. The test.c is public domain.
|
14 years ago |
Serj Kalichev
|
f6dfa1ea97
Fix PARAM help. Issue #29.
|
14 years ago |
Serj Kalichev
|
ed36dafc7c
The advanced ping command in xml examples. Thanks to lff.
|
14 years ago |
Serj Kalichev
|
92662b0135
Fix segmentation when the path of konfd socket is NULL.
|
14 years ago |
Serj Kalichev
|
fbce1160ec
The clish option -l implemented. It starts clish without using locking mechanism. It needed when the clish is executed from clish's ACTION. Nesting clish execution.
|
14 years ago |
Serj Kalichev
|
877d51f349
The clish now undertand -h (help), -v (version) and -s (set konfd socket) options.
|
14 years ago |
Serj Kalichev
|
995638b463
The clish utility will not use threads by default. The appropriate API is implemented.
|
14 years ago |
Serj Kalichev
|
b1da1b8949
Fix xml examples due to locking mechanism.
|
14 years ago |
Serj Kalichev
|
989d349e5f
Fix exit on script error.
|
14 years ago |