Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 10 lines 229 B view raw
1#!/usr/bin/env nix-shell 2#!nix-shell -i bash -p busybox unbound 3 4TMP=`mktemp` 5unbound-anchor -a "$TMP" 6grep -Ev "^($$|;)" "$TMP" | sed -e 's/ ;;.*//' > root.key 7 8unbound-anchor -F -a "$TMP" 9sed '/^;/d' < "$TMP" > root.ds 10rm $TMP