mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
xbmc: init: don't write directly to logfile, use 'logger' instead
This commit is contained in:
parent
f056ffee6b
commit
b4886ff7cd
@ -39,9 +39,9 @@ fi
|
||||
# starting autostart script (will be removed later again, dont use it!!!)
|
||||
AUTOSTART="/storage/.config/autostart.sh"
|
||||
if [ -f $AUTOSTART ]; then
|
||||
echo "!!! AUTOSTART script detected !!!" >> /var/log/messages
|
||||
cat "$AUTOSTART" >> /var/log/messages
|
||||
echo "!!! -End of autostart script- !!!" >> /var/log/messages
|
||||
echo '!!! AUTOSTART script detected !!!' | logger -t Boot
|
||||
cat "$AUTOSTART" | logger -t Boot
|
||||
echo '!!! -End of autostart script- !!!' | logger -t Boot
|
||||
|
||||
sh $AUTOSTART
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user