Raito Bezarius
|
5590fea16e
|
feat(ifwait): add ifbridgeable script
This enable to wait for bridgeability of a WLAN interface via
`iwinfo`.
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
|
2024-09-07 21:09:17 +02:00 |
|
Raito Bezarius
|
f0b4e826cb
|
fix(ifwait): match over strings and not symbols
Are they the same in Fennel?
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
|
2024-09-01 17:48:54 +02:00 |
|
Raito Bezarius
|
ca9642a61e
|
fix(ifwait): return :present if newlink is up/yes
Urgh…
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
|
2024-09-01 17:48:54 +02:00 |
|
Daniel Barlow
|
771585546d
|
import expect= where previously it was copy-pasted
|
2024-04-20 15:09:50 +01:00 |
|
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
|
e4ac7f19dc
|
fix ifwait deps
|
2024-03-16 20:16:49 +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
|
725af00dc9
|
improve test for dummy0 up
if we run off the end of the events fixture, it didn't work
|
2024-03-06 23:19:47 +00:00 |
|
Daniel Barlow
|
e1b932ec27
|
remove hardcoded filename in test event generator
|
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
|
cbd3dfefc5
|
ifwait fixture/test harness
|
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
|
41687e916d
|
rename luaSmall package to lua
|
2023-07-02 18:19:54 +01:00 |
|
Daniel Barlow
|
fdffdbb22a
|
add writeFennelScript function, make ifwait use it
|
2023-05-29 20:20:12 +01:00 |
|
Daniel Barlow
|
a172180be8
|
don't set lua5_3 in overlay
sphinx depends on lua5_3, so overriding it globally means rebuilding
that - which isn't really necessary
|
2023-03-24 23:43:13 +00:00 |
|
Daniel Barlow
|
1565a8414d
|
remove inadvertant references to bash
|
2023-03-06 17:48:31 +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 |
|