diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-17 20:07:54 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-17 20:07:54 +0200 |
commit | a38536ecc1003dc1305351d047af0afcedf2ced7 (patch) | |
tree | 1833495f1bddc7f0631ed2b5772b882970836585 /custom/tinc | |
parent | d6a37f91cb304c2025ed8f803265c0a4b072191c (diff) | |
download | nixos-a38536ecc1003dc1305351d047af0afcedf2ced7.tar nixos-a38536ecc1003dc1305351d047af0afcedf2ced7.tar.gz nixos-a38536ecc1003dc1305351d047af0afcedf2ced7.tar.bz2 nixos-a38536ecc1003dc1305351d047af0afcedf2ced7.tar.xz nixos-a38536ecc1003dc1305351d047af0afcedf2ced7.zip |
path
Diffstat (limited to 'custom/tinc')
-rw-r--r-- | custom/tinc/yggdrasil.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/tinc/yggdrasil.nix b/custom/tinc/yggdrasil.nix index 175da1ec..34933a19 100644 --- a/custom/tinc/yggdrasil.nix +++ b/custom/tinc/yggdrasil.nix | |||
@@ -85,7 +85,7 @@ in { | |||
85 | 85 | ||
86 | set -e | 86 | set -e |
87 | MACFILE="/var/db/$NETNAME.mac" | 87 | MACFILE="/var/db/$NETNAME.mac" |
88 | [ -e $MACFILE ] && ip link set dev $INTERFACE address `cat $MACFILE` || cat /sys/class/net/$INTERFACE/address >$MACFILE | 88 | [ -e $MACFILE ] && ${pkgs.iproute}/bin/ip link set dev $INTERFACE address `cat $MACFILE` || cat /sys/class/net/$INTERFACE/address >$MACFILE |
89 | ''; | 89 | ''; |
90 | "hosts/heimdallr-up" = '' | 90 | "hosts/heimdallr-up" = '' |
91 | #!${pkgs.stdenv.shell} | 91 | #!${pkgs.stdenv.shell} |