zoneconf: Program for managing multi-viewed DNS configurations.
[zoneconf] / bin / ssh-install
CommitLineData
2a65b7cf
MW
1#! /bin/sh
2
3set -e
4set -- $SSH_ORIGINAL_COMMAND
5case $# in
6 2) ;;
7 *) echo >&2 "Usage: $0 VIEW ZONE"; exit 1 ;;
8esac
9
10view="$1" zone="$2"
11exec bin/zoneconf install "$SSH_USER" "$view" "$zone"