Commit graph

13 commits

Author SHA1 Message Date
Daniel Barlow
77f1a78331 ifwait block if s6-rc lock is held
otherwise it doesn't trigger the service if something else is
slow to start
2024-03-28 20:59:39 +00:00
Daniel Barlow
f164f19d95 service starts and stops 2024-03-06 23:19:47 +00:00
Daniel Barlow
dd4ab41f6a rename run-event 2024-03-06 23:19:47 +00:00
Daniel Barlow
5d5dff6729 WIP add failing test that service starts 2024-03-06 23:19:47 +00:00
Daniel Barlow
570d29c368 pass command line params to run instead of reffing global 2024-03-06 23:19:47 +00:00
Daniel Barlow
7173b6fb1c don't call os.exit 2024-03-06 23:19:47 +00:00
Daniel Barlow
ed9548f21d pass event producer fn as param 2024-03-06 23:19:47 +00:00
Daniel Barlow
0787807a7f ifwait: don't run on load if in test harness 2024-03-06 23:19:47 +00:00
Daniel Barlow
38ed91f641 simplify assertion 2024-03-06 23:19:47 +00:00
Daniel Barlow
ffe9603c39 remove file-scoped parameters var 2024-03-06 23:19:47 +00:00
Daniel Barlow
018c1868b5 ifwait: use anoia.assoc 2024-03-06 23:19:47 +00:00
Daniel Barlow
5184ff63f7 add anoia.nl, a convenience wrapper on netlink 2024-03-06 23:19:47 +00:00
Daniel Barlow
626a365f79 replace waitup with more generally useful ifwait
* wait for $interface present before ip link set up dev
* wait for wlan0 running before adding to bridge
2023-03-01 18:16:01 +00:00