summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-01-11 13:02:57 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-01-11 13:02:57 +0100
commitb8cca17be9bcb6302c6fec5bc5d6e78078a36aa3 (patch)
tree2292739c9ed0d8fe6310eededca32b67761bfff2 /hosts
parentbcf6be337fab66fe91cb72c57919b5e66cf6233c (diff)
downloadnixos-b8cca17be9bcb6302c6fec5bc5d6e78078a36aa3.tar
nixos-b8cca17be9bcb6302c6fec5bc5d6e78078a36aa3.tar.gz
nixos-b8cca17be9bcb6302c6fec5bc5d6e78078a36aa3.tar.bz2
nixos-b8cca17be9bcb6302c6fec5bc5d6e78078a36aa3.tar.xz
nixos-b8cca17be9bcb6302c6fec5bc5d6e78078a36aa3.zip
vidhar: ...
Diffstat (limited to 'hosts')
-rw-r--r--hosts/vidhar/network/dsl.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/vidhar/network/dsl.nix b/hosts/vidhar/network/dsl.nix
index 0ad598e6..ae2caec2 100644
--- a/hosts/vidhar/network/dsl.nix
+++ b/hosts/vidhar/network/dsl.nix
@@ -169,7 +169,7 @@ in {
169 169
170 postStop = '' 170 postStop = ''
171 for dev in lan dmz01; do 171 for dev in lan dmz01; do
172 ${pkgs.iproute2}/bin/ip -6 a show dev "''${dev}" scope global | ${pkgs.coreutils}/bin/grep inet6 | ${pkgs.gawk}/bin/awk '{ print $2; }' | ${pkgs.findutils}/bin/xargs -I '{}' -- ${pkgs.iproute2}/bin/ip addr del '{}' dev "''${dev}" 172 ${pkgs.iproute2}/bin/ip -6 a show dev "''${dev}" scope global | ${pkgs.gnugrep}/bin/grep inet6 | ${pkgs.gawk}/bin/awk '{ print $2; }' | ${pkgs.findutils}/bin/xargs -I '{}' -- ${pkgs.iproute2}/bin/ip addr del '{}' dev "''${dev}"
173 done 173 done
174 ''; 174 '';
175 175