ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / dn / dns-root-data / update-root-key.sh
blob9a3141aef1973efe46bbb98d91b7afbaa042ed84
1 #!/usr/bin/env nix-shell
2 #!nix-shell -i bash -p busybox unbound
4 TMP=`mktemp`
5 unbound-anchor -a "$TMP"
6 grep -Ev "^($$|;)" "$TMP" | sed -e 's/ ;;.*//' > root.key
8 unbound-anchor -F -a "$TMP"
9 sed '/^;/d' < "$TMP" > root.ds
10 rm $TMP