Revert "tinc tinc-up: don't rely on store path interpreter"

This reverts commit 6002189225.
This commit is contained in:
tv 2022-03-06 10:50:41 +01:00
parent 5182daaaf4
commit 560371d038

View File

@ -26,8 +26,7 @@ with import <stockholm/lib>;
Port = ${toString tinc.config.host.nets.${netname}.tinc.port}
${tinc.config.extraConfig}
'';
"tinc-up" = pkgs.writeScript "${netname}-tinc-up" ''
#!/bin/sh
"tinc-up" = pkgs.writeDash "${netname}-tinc-up" ''
ip link set ${netname} up
${tinc.config.tincUp}
'';