1.1 --- a/tools/init.sh Mon Dec 19 23:39:20 2016 +0100
1.2 +++ b/tools/init.sh Tue Dec 20 15:55:29 2016 +0100
1.3 @@ -1,5 +1,25 @@
1.4 #!/bin/sh
1.5
1.6 +# This tool initialises a deployment of imip-agent, creating data stores and
1.7 +# published data directories, creating and initialising databases, and setting
1.8 +# filesystem permissions. It is configured using the contents of the config.sh
1.9 +# script.
1.10 +#
1.11 +# Copyright (C) 2015, 2016 Paul Boddie <paul@boddie.org.uk>
1.12 +#
1.13 +# This program is free software; you can redistribute it and/or modify it under
1.14 +# the terms of the GNU General Public License as published by the Free Software
1.15 +# Foundation; either version 3 of the License, or (at your option) any later
1.16 +# version.
1.17 +#
1.18 +# This program is distributed in the hope that it will be useful, but WITHOUT
1.19 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
1.20 +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
1.21 +# details.
1.22 +#
1.23 +# You should have received a copy of the GNU General Public License along with
1.24 +# this program. If not, see <http://www.gnu.org/licenses/>.
1.25 +
1.26 DIRNAME=`dirname "$0"`
1.27 CONFIG="$DIRNAME/config.sh"
1.28