From 78bcfd24603b5c19979ed8502eb7e09b0b54229f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 2 Jul 2018 15:14:51 +0200 Subject: Static macAddresses --- custom/tinc/yggdrasil.nix | 9 --------- 1 file changed, 9 deletions(-) (limited to 'custom') diff --git a/custom/tinc/yggdrasil.nix b/custom/tinc/yggdrasil.nix index f5684d08..abc0eb14 100644 --- a/custom/tinc/yggdrasil.nix +++ b/custom/tinc/yggdrasil.nix @@ -53,15 +53,6 @@ in { PingTimeout = 30 ${optionalString cfg.connect "ConnectTo = ymir"} ''; - scripts = { - "tinc-up" = '' - #!${pkgs.stdenv.shell} - - set -e - MACFILE="/var/db/$NETNAME.mac" - [ -e $MACFILE ] && ${pkgs.iproute}/bin/ip link set dev $INTERFACE address `cat $MACFILE` || cat /sys/class/net/$INTERFACE/address >$MACFILE - ''; - }; }; }; } -- cgit v1.2.3