Merge remote-tracking branch 'pcc/fix10'
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)))))
|
||||
))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user