#!/bin/bash #.Y / 70 83 / / / / 105 / / / / / / ;A4_QUER.Y #.YT 3 2 0 0 3 3 1 / / / #.H!a!0:linux//LogRotate_!0.!c # #/*************************************************************************** # LogRotate_ # +++++++++++ # # purpose : access to logrotate-functions # # begin : Wed Nov 15 10:15:28 CEST 2014 # # changes : - # # copyright : (C) 2014 by Thomas Bruecker # # email : public@thomas-r-bruecker.ch # # version : 0.0.0 # #***************************************************************************/ #/*************************************************************************** # * * # * 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., 51 Franklin Street, Fifth Floor, Boston, * # * MA 02110-1301 USA. * # * * # ***************************************************************************/ # MyHash('linux//LogRotate_') = 0x0A00 SCRIPTS=usr/local/bin . /$SCRIPTS/log/logrotate_/THIS command0x0A00=logrotate_$1 shift 1 $command0x0A00 "$@" echo "returns: $?"