chiark / gitweb /
zoneconf-install-*: Find `zoneconf' in the correct place.
[zoneconf] / zoneconf-install-ssh.in
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"
7d50ec12 11exec @sbindir@/zoneconf install "$SSH_USER" "$view" "$zone"