2
0

Merge remote-tracking branch 'pcc/fix10'

This commit is contained in:
2026-05-03 13:35:23 +01:00
2 changed files with 5 additions and 1 deletions

View File

@@ -3,6 +3,8 @@
writeFennel,
runCommand,
anoia,
lualinux,
s6-rc-up-tree,
}:
runCommand "ifwait" { } ''
mkdir -p $out/bin
@@ -10,7 +12,9 @@ runCommand "ifwait" { } ''
writeFennel "ifwait" {
packages = [
anoia
lualinux
netlink-lua
s6-rc-up-tree
];
} ./ifwait.fnl
} $out/bin/ifwait

View File

@@ -37,7 +37,7 @@
(when (not (= up wanted?))
(set up
(if wanted?
(pcall system (.. "s6-rc -b -u change " service))
(pcall system (.. "s6-rc-up-tree " service))
(not (pcall system (.. "s6-rc -b -d change " service)))))
))