createlog: make RPi happy

This commit is contained in:
Stefan Saraev 2014-01-14 16:44:54 +02:00 committed by Stephan Raue
parent f7515df9e6
commit a4ac801fb4

View File

@ -83,7 +83,10 @@ mkdir -p $BASEDIR/$LOGDIR
# Input.log
LOGFILE="07_input.log"
getlog_cmd cat /proc/bus/input/devices
getlog_cmd cat /proc/acpi/wakeup
# make RPi users happy
if [ -e /proc/acpi/wakeup ] ; then
getlog_cmd cat /proc/acpi/wakeup
fi
# Filesystem.log
LOGFILE="08_Filesystem.log"