From 3531cbae3e88bce0265fd487b9a54fd69f68c5bb Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Tue, 14 Jan 2014 16:44:54 +0200 Subject: [PATCH] createlog: make RPi happy --- packages/sysutils/busybox/scripts/createlog | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/sysutils/busybox/scripts/createlog b/packages/sysutils/busybox/scripts/createlog index 5a347c895c..e1ac910a8f 100755 --- a/packages/sysutils/busybox/scripts/createlog +++ b/packages/sysutils/busybox/scripts/createlog @@ -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"