Commit graph

24 commits

Author SHA1 Message Date
Ariadne Conill
95d26df34c lifecycle: refactor address handling a little 2020-07-23 11:08:35 -06:00
Ariadne Conill
933332a6cb lifecycle: add pre-down/post-up to match debian ifupdown 2020-07-23 10:43:14 -06:00
Ariadne Conill
5013dcf6c9 lifecycle: kill dhcp client when called from ifdown 2020-07-23 09:45:52 -06:00
Ariadne Conill
2c556d8655 environment: fix up memory accesses when building envp 2020-07-23 09:43:09 -06:00
Ariadne Conill
a2f3169716 lifecycle: use /bin/run-parts instead of run-parts 2020-07-23 08:57:52 -06:00
Ariadne Conill
bc9dc32a38 lifecycle: support dhcp 2020-07-23 08:55:46 -06:00
Ariadne Conill
4542c8c32f lifecycle: note dependency resolution todo 2020-07-23 08:52:18 -06:00
Ariadne Conill
da37e87290 add lifecycle management 2020-07-23 08:51:22 -06:00
Ariadne Conill
4006b38ffa execute: add lif_execute_opts structure 2020-07-23 08:22:26 -06:00
Ariadne Conill
a567d5d0f5 libifupdown: add lif_execute_fmt() 2020-07-23 06:12:56 -06:00
Ariadne Conill
7f8f93a29b libifupdown: add environment management routines 2020-07-23 05:30:25 -06:00
Ariadne Conill
aa1cc0815c add a bunch more of the state stuff 2020-07-20 08:19:23 -06:00
Ariadne Conill
6fe4630f52 state: add interface alias support 2020-07-20 07:45:39 -06:00
Ariadne Conill
d4e1997486 add core state management 2020-07-20 07:42:16 -06:00
Ariadne Conill
c189467707 add ifquery --version 2020-07-18 19:09:08 -06:00
Ariadne Conill
86a83d9e95 implement /e/n/i parsing 2020-07-18 18:48:49 -06:00
Ariadne Conill
26106dff75 add fgetline(3) implementation 2020-07-18 18:13:54 -06:00
Ariadne Conill
32560de5ca add stub lif_interface_file_parse() 2020-07-18 18:02:25 -06:00
Ariadne Conill
817963b586 cmd: start work on an ifquery command 2020-07-18 04:49:22 -06:00
Ariadne Conill
84a01ffdc4 libifupdown: add initial interface management code 2020-07-18 04:24:53 -06:00
Ariadne Conill
3f618d2a3b libifupdown: add a simple key-value dictionary based on linked lists 2020-07-18 03:11:43 -06:00
Ariadne Conill
803f51efe8 list: fix LIF_LIST_FOREACH_SAFE 2020-07-18 03:01:15 -06:00
Ariadne Conill
a43f8b988d list: remove #if 0 part 2020-07-18 01:59:33 -06:00
Ariadne Conill
e8d87d3d37 add linked list code 2020-07-18 01:58:24 -06:00