chiark
/
gitweb
/
~mdw
/
zoneconf
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
bin/zoneconf: Close the output config files at the right time.
[zoneconf]
/
bin
/
ssh-install
1
#! /bin/sh
2
3
set -e
4
set -- $SSH_ORIGINAL_COMMAND
5
case $# in
6
2) ;;
7
*) echo >&2 "Usage: $0 VIEW ZONE"; exit 1 ;;
8
esac
9
10
view="$1" zone="$2"
11
exec bin/zoneconf install "$SSH_USER" "$view" "$zone"