try dispatcher script fix try one

This commit is contained in:
Schrottkatze 2024-03-01 18:22:58 +01:00
parent d7b141428a
commit beba034c17
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc

View file

@ -14,6 +14,8 @@ def main [
systemd-cat echo $"($currentnet) \(($interface)): ($type)";
if $interface starts-with 'wlp' {
^$"/etc/networkhooks/($currentnet).nu" $interface $type
let p = $"/etc/networkhooks/($currentnet).nu";
systemd-cat echo $p;
^$p $interface $type
}
}