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