#!/bin/bash
#
# debug_events - just logs all commandline parameters to syslog
#
# Stefan Seyfried 
#
SCRIPT_RETURN=${0%/*}/powersaved_script_return # `dirname $0`/powe...
#
# we need this for SCRIPT_RETURN at the end
RET=$4

ME=${0##*/} # basename $0
TAG="[$ME][$$]"
LOG="commandline arguments:"
while [ $# -gt 0 ]; do
    LOG="$LOG '$1'"
    shift
done
logger -t "$TAG" "$LOG"

$SCRIPT_RETURN "$RET|0|debug_events finished"
