Commit graph

59 commits

Author SHA1 Message Date
Ariadne Conill
eeb40fc689 libifupdown: move ARRAY_SIZE() declaration from multicall 2020-08-19 01:58:41 -06:00
Ariadne Conill
b9efc841a3 Merge branch 'feature/refactor-opts' into master 2020-08-18 14:40:50 -06:00
Ariadne Conill
b084f1c99c ifctrstat: add manpage xref 2020-08-18 14:36:35 -06:00
Ariadne Conill
0a3f1e33a8 ifctrstat: lower-case help text for program-specific options 2020-08-18 14:36:15 -06:00
Ariadne Conill
99571a4c03 ifctrstat: fix style issues 2020-08-18 14:20:55 -06:00
Ariadne Conill
520b831bdf cmd: add manpage xrefs where we have manpages already 2020-08-18 14:14:33 -06:00
Ariadne Conill
e2959275b6 multicall: add ability for applets to specify a manpage reference 2020-08-18 14:12:34 -06:00
A. Wilcox
327e738a55
Refactor how options are handled 2020-08-17 14:59:19 -05:00
A. Wilcox
1a11bb768f
ifctrstat: Use new structure and recalculate binary size 2020-08-17 14:13:16 -05:00
A. Wilcox
7b45d3939d
ifctrstat: Add -n option to omit label printing 2020-08-14 14:27:23 -05:00
A. Wilcox
6106164d7c
ifctrstat: Add ability to output counter values 2020-08-14 11:29:04 -05:00
A. Wilcox
95d943ee44
ifctrstat: Misc style fixes 2020-08-14 11:28:14 -05:00
A. Wilcox
05e0ac139b
ifctrstat: Initial structure for new applet 2020-08-14 11:27:43 -05:00
Ariadne Conill
b30e0223d0 multicall: only enable applets actually compiled in 2020-08-12 16:57:40 -06:00
Ariadne Conill
f7d21d4b46 ifupdown: port to use option groups 2020-08-11 23:14:55 -06:00
Ariadne Conill
fda7bfae57 ifquery: use generic_usage() instead of ifquery_usage() 2020-08-11 23:10:35 -06:00
Ariadne Conill
f6d9f65248 ifquery: port to use option groups 2020-08-11 23:03:55 -06:00
Ariadne Conill
fdfe8ac080 multicall: migrate execution options to common code 2020-08-11 22:52:15 -06:00
Ariadne Conill
52509c508c multicall: migrate match options to shared collection 2020-08-11 22:37:36 -06:00
Ariadne Conill
f871002ecc multicall: add self_applet 2020-08-11 22:37:10 -06:00
Ariadne Conill
2be5add47b multicall: split option handling routines out to multicall-options.c 2020-08-11 22:15:52 -06:00
Ariadne Conill
b817bdb999 multicall: move match_options to a common include 2020-08-11 22:12:37 -06:00
Ariadne Conill
b481db6c20 multicall: add support for unified option handling 2020-08-11 22:07:32 -06:00
Ariadne Conill
ebd04cafda commands: refactor applet_usage functions to take a status code (ref #16) 2020-08-11 20:44:04 -06:00
Ariadne Conill
072c1ea148 ifquery: build full dependency tree when in dot mode 2020-08-04 12:36:38 -06:00
Ariadne Conill
58bc969bbb ifupdown: only show granular locking errors in verbose mode 2020-07-29 03:18:12 -06:00
Ariadne Conill
ef3bdd79da clean up locking-related errors further 2020-07-29 03:17:12 -06:00
Ariadne Conill
c71c01862d ifupdown: make the locking errors more useful 2020-07-29 03:13:34 -06:00
Ariadne Conill
0ca8e42ee6 refactoring locking, make it per-interface to avoid deadlocks 2020-07-29 03:10:55 -06:00
Ariadne Conill
91115edeee ifupdown: use fcntl advisory locks to serialize state changes (closes #8) 2020-07-29 03:01:49 -06:00
Ariadne Conill
fb5ff4eac2 lifecycle: add support for learning dependents from executors (ref #5) 2020-07-28 13:46:25 -06:00
Ariadne Conill
e1918f3fd5 ifupdown: add --force for compatibility with busybox ifupdown 2020-07-28 08:23:58 -06:00
Ariadne Conill
9e4e17707f lifecycle: expose INTERFACES_FILE env var to executors 2020-07-26 02:50:01 -06:00
Ariadne Conill
052156ac09 ifquery: add --property (ref #4) 2020-07-26 02:28:29 -06:00
Ariadne Conill
4e452c5fec multicall: mark multicall_usage() as noreturn
this is needed to shut up coverity
2020-07-25 08:47:21 -06:00
Ariadne Conill
dca34ebba7 ifupdown: allow for the executor path to be changed 2020-07-25 02:22:27 -06:00
Ariadne Conill
96112d5dc9 libifupdown: execute: add lif_maybe_try_executor() 2020-07-25 02:17:27 -06:00
Ariadne Conill
16af3755e0 use "use loopback" hint instead of "inet loopback", same with dhcp 2020-07-24 05:00:49 -06:00
Ariadne Conill
8714dab11d multicall: expose argv0, use in applets 2020-07-24 04:52:15 -06:00
Ariadne Conill
e0a7444640 state: add ability to sync a state to if_collection cache 2020-07-24 04:48:50 -06:00
Ariadne Conill
8138ca8485 ifquery: add --dot to visualize a calculated solution 2020-07-24 04:25:06 -06:00
Ariadne Conill
f0050e9a72 cmd/ifupdown: clean up tracing messages 2020-07-24 03:57:52 -06:00
Ariadne Conill
38537339ab lifecycle: implement requires keyword 2020-07-24 03:42:34 -06:00
Ariadne Conill
bc88e3fcd2 multicall: add stub applet like busybox has 2020-07-24 03:23:41 -06:00
Ariadne Conill
1a9fd7a0cc convert to multicall binary 2020-07-24 03:07:29 -06:00
Ariadne Conill
0624052339 ifupdown: handle state translation for ifdown aliases 2020-07-24 00:15:26 -06:00
Ariadne Conill
de94c2a5a4 ifupdown: update ifstate 2020-07-23 11:01:05 -06:00
Ariadne Conill
5e99e689a8 ifupdown: make --auto work 2020-07-23 10:57:46 -06:00
Ariadne Conill
6e262ab3ed add ifupdown skeleton 2020-07-23 10:44:45 -06:00
Ariadne Conill
09057aa977 fix up tests 2020-07-20 08:24:31 -06:00