Revert "tinc tinc-up: don't rely on store path interpreter"
This reverts commit 6002189225
.
This commit is contained in:
parent
5182daaaf4
commit
560371d038
@ -26,8 +26,7 @@ with import <stockholm/lib>;
|
|||||||
Port = ${toString tinc.config.host.nets.${netname}.tinc.port}
|
Port = ${toString tinc.config.host.nets.${netname}.tinc.port}
|
||||||
${tinc.config.extraConfig}
|
${tinc.config.extraConfig}
|
||||||
'';
|
'';
|
||||||
"tinc-up" = pkgs.writeScript "${netname}-tinc-up" ''
|
"tinc-up" = pkgs.writeDash "${netname}-tinc-up" ''
|
||||||
#!/bin/sh
|
|
||||||
ip link set ${netname} up
|
ip link set ${netname} up
|
||||||
${tinc.config.tincUp}
|
${tinc.config.tincUp}
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user