#################################################################
#
# @(#) dist.sh -- distribute and reload command for dnssec-signer
#
# (c) Jul 2008 Holger Zuleger hznet.de
#
# Feb 2010 action "distkeys" added
#
# This shell script will be run by dnssec-signer as a distribution
# and reload command if:
#
# a) the dnssec.conf file parameter Distribute_Cmd: points
# to this file
# and
# b) the user running the dnssec-signer command is not
# root (uid==0)
# and
# c) the owner of this shell script is the same as the
# running user and the access rights don't allow writing
# for anyone except the owner
# or
# d) the group of this shell script is the same as the
# running user and the access rights don't allow writing
# for anyone except the group
#
#################################################################
# set path to rndc and scp
# remote server and directory
progname=$0
{
test $# -gt 0 && echo $* 1>&2
exit 1
}
if test $# -lt 3
then
fi
action="$1"
domain="$2"
zonefile="$3"
view=""
if test -n "$view"
then
else
fi
;;
if test -n "$view"
then
else
fi
;;
;;
*)
;;
esac