blob: f2971df0536e64df8f0fdc24b293725bb2ce06de [file] [log] [blame]
#!/bin/sh
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Log all calls, with arguments, to /var/log/messages
logger -- "$0" "$@"
TOUCH_NOISE_LOG="/var/log/xorg/touch_noise.log"
if [ -f "$TOUCH_NOISE_LOG" ]; then
gzip -c "$TOUCH_NOISE_LOG" | uuencode -m touch_noise_log.gz
fi