summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2008-02-07 11:00:28 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2008-02-07 11:00:28 (GMT)
commit62bbf2df13baf63039614d39e919a0544452e8fe (patch)
tree72ed00afdf533ea7a89f554701195a1d8213218e /libexec
parentec2bf9c924dbf3c8070138b7ee327c4209058af2 (diff)
downloadkolab-server-62bbf2df13baf63039614d39e919a0544452e8fe.tar.gz
Removed the generatefb shell script since it will be recommended to run the script via the web.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/generatefb.in68
1 files changed, 0 insertions, 68 deletions
diff --git a/libexec/generatefb.in b/libexec/generatefb.in
deleted file mode 100644
index 571cff1..0000000
--- a/libexec/generatefb.in
+++ /dev/null
@@ -1,68 +0,0 @@
-#
-# LICENSE
-# -------
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-#
-# $Revision$
-#
-# ABOUT
-# -----
-#
-# This script regenerates the cached free/busy information.
-#
-#
-
-CLI_USER="manager"
-CLI_PASS=""
-
-usage() {
- echo "Script for updating freebusy information on a kolab server.";
- echo "Normal usage is:";
- echo
- echo " kolab generatefb [-h] [-u=<manager>] -p=<password>";
- echo
- echo "Usage:"
- echo " -u The IMAP user used for regenerating the cache."
- echo " (the default is the manager but you may also "
- echo " specify a user name to regenrate just this users"
- echo " cache data)"
- echo " -p Password for the selected user"
- exit 1
-}
-
-while getopts hu:p: ARGS; do
- case $ARGS in
- h) # Display help
- usage
- ;;
- u) # User
- CLI_USER="${OPTARG}"
- ;;
- p) # Pass
- CLI_PASS="${OPTARG}"
- ;;
- esac
-done
-
-# Password must be supplied
-if [ -z "$CLI_PASS" ]; then
- usage
-fi
-
-export CLI_USER
-export CLI_PASS
-
-@PHP@ -c @phpini_dir@/php.ini @freebusy_confdir@/generatefb.php