From fdbb1673ebdbd4d333b13027756a60f0a0ed35ba Mon Sep 17 00:00:00 2001 From: brindosch Date: Sat, 30 Apr 2016 17:09:41 +0200 Subject: [PATCH] add logfiles dir for oe install Former-commit-id: d549732905e85d224921de574463f540d8d5d647 --- bin/install_hyperion.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/install_hyperion.sh b/bin/install_hyperion.sh index 13b1f91b..43ba9566 100755 --- a/bin/install_hyperion.sh +++ b/bin/install_hyperion.sh @@ -206,6 +206,7 @@ elif [ $OS_OPENELEC -eq 1 ]; then #modify all old installs with a logfile output sed -i 's|/dev/null|/storage/logfiles/hyperion.log|g' /storage/.config/autostart.sh # only add to start script if hyperion is not present yet + mkdir /storage/logfiles 2>/dev/null touch /storage/.config/autostart.sh 2>/dev/null if [ `cat /storage/.config/autostart.sh 2>/dev/null | grep hyperiond | wc -l` -eq 0 ]; then echo '---> Adding Hyperion to OpenELEC autostart.sh'