forked from DGNum/liminix
er, "input" != output"
This commit is contained in:
parent
106a429b3d
commit
4fd1b5f08b
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
{ target, via, interface ? null, metric }:
|
||||
let
|
||||
inherit (liminix.services) oneshot;
|
||||
with_dev = if interface != null then "dev $(input ${interface} ifname)" else "";
|
||||
with_dev = if interface != null then "dev $(output ${interface} ifname)" else "";
|
||||
in oneshot {
|
||||
name = "route-${target}-${builtins.substring 0 12 (builtins.hashString "sha256" "${via}-${if interface!=null then interface.name else ""}")}";
|
||||
up = ''
|
||||
|
|
Loading…
Reference in a new issue