[otrs-cvs]
CVS: otrs/bin Cron.sh, 1.12, 1.13 SetPermissions.sh, 1.27, 1.28
otrs.addGroup,1.9,1.10 otrs.addQueue,1.8,1.9 otrs.addUser2Group,1.10,1.11
cvs-log at otrs.org
cvs-log at otrs.org
Tue Oct 3 17:36:04 CEST 2006
Update of /home/cvs/otrs/bin
In directory lancelot:/tmp/cvs-serv19730/bin
Modified Files:
Cron.sh SetPermissions.sh otrs.addGroup otrs.addQueue
otrs.addUser2Group
Log Message:
change copyright
Index: Cron.sh
===================================================================
RCS file: /home/cvs/otrs/bin/Cron.sh,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** Cron.sh 26 Aug 2006 17:29:03 -0000 1.12
--- Cron.sh 3 Oct 2006 14:36:02 -0000 1.13
***************
*** 27,32 ****
if test $CURRENTUSER = root; then
! echo "Run this script just as OTRS user! Or use 'Cron.sh {start|stop|restart} OTRS_USER'!"
! exit 5
fi
--- 27,32 ----
if test $CURRENTUSER = root; then
! echo "Run this script just as OTRS user! Or use 'Cron.sh {start|stop|restart} OTRS_USER'!"
! exit 5
fi
***************
*** 45,49 ****
echo "Cron.sh - start/stop OTRS cronjobs - <\$Revision$> "
! echo "Copyright (c) 2001-2005 Martin Edenhofer <martin at otrs.org>"
#
--- 45,49 ----
echo "Cron.sh - start/stop OTRS cronjobs - <\$Revision$> "
! echo "Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/"
#
***************
*** 55,66 ****
# ------------------------------------------------------
start)
! if mkdir -p $CRON_DIR; cd $CRON_DIR && ls * |grep -v '.dist'|grep -v '.rpm'| grep -v CVS | grep -v Entries | grep -v Repository | grep -v Root | xargs cat > $CRON_TMP_FILE && crontab $CRON_USER $CRON_TMP_FILE; then
! rm -rf $CRON_TMP_FILE
! echo "(using $OTRS_ROOT) done";
! exit 0;
! else
! echo "failed";
! exit 1;
! fi
;;
# ------------------------------------------------------
--- 55,66 ----
# ------------------------------------------------------
start)
! if mkdir -p $CRON_DIR; cd $CRON_DIR && ls * |grep -v '.dist'|grep -v '.rpm'| grep -v CVS | grep -v Entries | grep -v Repository | grep -v Root | xargs cat > $CRON_TMP_FILE && crontab $CRON_USER $CRON_TMP_FILE; then
! rm -rf $CRON_TMP_FILE
! echo "(using $OTRS_ROOT) done";
! exit 0;
! else
! echo "failed";
! exit 1;
! fi
;;
# ------------------------------------------------------
***************
*** 68,78 ****
# ------------------------------------------------------
stop)
! if crontab $CRON_USER -r ; then
! echo "done";
! exit 0;
! else
! echo "failed";
! exit 1;
! fi
;;
# ------------------------------------------------------
--- 68,78 ----
# ------------------------------------------------------
stop)
! if crontab $CRON_USER -r ; then
! echo "done";
! exit 0;
! else
! echo "failed";
! exit 1;
! fi
;;
# ------------------------------------------------------
***************
*** 80,85 ****
# ------------------------------------------------------
restart)
! $0 stop
! $0 start
;;
# ------------------------------------------------------
--- 80,85 ----
# ------------------------------------------------------
restart)
! $0 stop
! $0 start
;;
# ------------------------------------------------------
Index: SetPermissions.sh
===================================================================
RCS file: /home/cvs/otrs/bin/SetPermissions.sh,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** SetPermissions.sh 13 Jul 2005 17:47:43 -0000 1.27
--- SetPermissions.sh 3 Oct 2006 14:36:02 -0000 1.28
***************
*** 2,6 ****
# --
# SetPermissions.sh - to set the otrs permissions
! # Copyright (C) 2001-2005 Martin Edenhofer <martin+code at otrs.org>
# --
# $Id$
--- 2,6 ----
# --
# SetPermissions.sh - to set the otrs permissions
! # Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/
# --
# $Id$
***************
*** 22,26 ****
echo "SetPermissions.sh <\$Revision$> - set OTRS file permissions"
! echo "Copyright (c) 2001-2004 Martin Edenhofer <martin at otrs.org>"
if ! test $1 || ! test $2 || ! test $3; then
--- 22,26 ----
echo "SetPermissions.sh <\$Revision$> - set OTRS file permissions"
! echo "Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/"
if ! test $1 || ! test $2 || ! test $3; then
Index: otrs.addGroup
===================================================================
RCS file: /home/cvs/otrs/bin/otrs.addGroup,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** otrs.addGroup 18 Mar 2005 13:41:33 -0000 1.9
--- otrs.addGroup 3 Oct 2006 14:36:02 -0000 1.10
***************
*** 3,7 ****
# bin/otrs.addGroup - add new system groups
# Copyright (C) 2002 Atif Ghaffar <aghaffar at developer.ch>
! # Copyright (C) 2001-2005 Martin Edenhofer <martin+code at otrs.org>
# --
# $Id$
--- 3,7 ----
# bin/otrs.addGroup - add new system groups
# Copyright (C) 2002 Atif Ghaffar <aghaffar at developer.ch>
! # Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/
# --
# $Id$
***************
*** 59,65 ****
$CommonObject{GroupObject} = Kernel::System::Group->new(%CommonObject);
! #user id of the person adding the record
$Param{UserID}='1';
! #Validrecord
$Param{ValidID}='1';
$Param{Comment}=$opts{'c'} || '';
--- 59,65 ----
$CommonObject{GroupObject} = Kernel::System::Group->new(%CommonObject);
! # user id of the person adding the record
$Param{UserID}='1';
! # Validrecord
$Param{ValidID}='1';
$Param{Comment}=$opts{'c'} || '';
Index: otrs.addQueue
===================================================================
RCS file: /home/cvs/otrs/bin/otrs.addQueue,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** otrs.addQueue 4 Jul 2005 11:45:03 -0000 1.8
--- otrs.addQueue 3 Oct 2006 14:36:02 -0000 1.9
***************
*** 2,7 ****
# --
# otrs.addQueue - Add Queue from CLI
- # Copyright (C) 2001-2005 Martin Edenhofer <martin+code at otrs.org>
# Copyright (C) 2002 Atif Ghaffar <aghaffar at developer.ch>
# --
# $Id$
--- 2,7 ----
# --
# otrs.addQueue - Add Queue from CLI
# Copyright (C) 2002 Atif Ghaffar <aghaffar at developer.ch>
+ # Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/
# --
# $Id$
***************
*** 34,38 ****
$VERSION =~ s/^\$.*:\W(.*)\W.+?$/$1/;
-
use Getopt::Std;
use Kernel::Config;
--- 34,37 ----
***************
*** 50,60 ****
if ($Opts{'h'}) {
print "otrs.addQueue.pl <Revision $VERSION> - add new queue\n";
! print "Copyright (c) 2001-2005 Martin Edenhofer <martin\@otrs.org>\n";
! print "Copyright (c) 2002 Atif Ghaffar <aghaffar\@developer.ch>\n";
print "usage: otrs.addQueue.pl -n <NAME> -g <GROUP> [-s <SYSTEMADDRESSID> -c <COMMENT>]\n";
exit 1;
}
-
if (!$Opts{'n'}) {
print STDERR "ERROR: Need -n <NAME>\n";
--- 49,58 ----
if ($Opts{'h'}) {
print "otrs.addQueue.pl <Revision $VERSION> - add new queue\n";
! print "Copyright (C) 2002 Atif Ghaffar <aghaffar\@developer.ch>\n";
! print "Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/\n";
print "usage: otrs.addQueue.pl -n <NAME> -g <GROUP> [-s <SYSTEMADDRESSID> -c <COMMENT>]\n";
exit 1;
}
if (!$Opts{'n'}) {
print STDERR "ERROR: Need -n <NAME>\n";
***************
*** 100,102 ****
exit (0);
}
-
--- 98,99 ----
Index: otrs.addUser2Group
===================================================================
RCS file: /home/cvs/otrs/bin/otrs.addUser2Group,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** otrs.addUser2Group 28 Feb 2006 05:55:09 -0000 1.10
--- otrs.addUser2Group 3 Oct 2006 14:36:02 -0000 1.11
***************
*** 3,7 ****
# bin/otrs.addUser2Group - Add User to a Group
# Copyright (C) 2002 Atif Ghaffar <aghaffar at developer.ch>
! # Copyright (C) 2001-2005 Martin Edenhofer <martin+code at otrs.org>
# --
# $Id$
--- 3,7 ----
# bin/otrs.addUser2Group - Add User to a Group
# Copyright (C) 2002 Atif Ghaffar <aghaffar at developer.ch>
! # Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/
# --
# $Id$
***************
*** 69,75 ****
! #user id
$Param{UserID}='1';
! #valid id
$Param{ValidID}='1';
--- 69,75 ----
! # user id
$Param{UserID}='1';
! # valid id
$Param{ValidID}='1';
More information about the cvs-log
mailing list