syslog: init: fix envirnonment when called from addon

This commit is contained in:
Stefan Saraev 2013-07-18 19:51:31 +03:00
parent 923b124f39
commit 0782cd1be5

View File

@ -24,6 +24,10 @@
# runlevels: openelec, textmode
(
# can be called from openelec addon.
# ensure that environment is sane
. /etc/profile
progress "Starting Syslog daemon"
if [ -e $CONFIG_CACHE/syslog/remote ] ; then