krebszones: make OVH_ZONE_CONFIG configurable

This commit is contained in:
makefu 2017-11-22 19:12:12 +01:00
parent f70cfd8f1f
commit f2160466d1
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -2,7 +2,7 @@
pkgs.writeDashBin "krebszones" ''
set -efu
export OVH_ZONE_CONFIG=$HOME/.secrets/krebs/ovh-zone.conf
export OVH_ZONE_CONFIG=''${OVH_ZONE_CONFIG:-$HOME/.secrets/krebs/ovh-zone.conf}
case $* in
import)
set -- import /etc/zones/krebsco.de krebsco.de