1
Drivers / Re:Synology package corrupts tvheadend dierkse 4.4.20180117-1
« am: Februar 01, 2018, 10:59:38 Nachmittag »
I was able to fix the issue as follows after installing the sundtek drivers and tvheaden 4.2.5 (https://www.tvheadend.org/boards/5/topics/27780):
nano /var/packages/tvheadend/scripts/service-setup
In the service_prestart function, I prepended the start command for DSM6+ as follows:
Prior to that I copied libmediaclient.so from /volume1/\@appstore/sundtek/opt/lib/ to /volume1/\@appstore/tvheadend/lib/
and changed permissions:
chown sc-tvheadend:tvheadend libmediaclient.so
nano /var/packages/tvheadend/scripts/service-setup
In the service_prestart function, I prepended the start command for DSM6+ as follows:
Code: [Auswählen]
...
if [ $SYNOPKG_DSM_VERSION_MAJOR -lt 6 ]; then
su ${EFF_USER} -s /bin/sh -c "${COMMAND}" >> ${LOG_FILE} 2>&1 &
else
LD_PRELOAD=${SYNOPKG_PKGDEST}/lib/libmediaclient.so ${COMMAND} >> ${LOG_FILE} 2>&1 &
fi
...
Prior to that I copied libmediaclient.so from /volume1/\@appstore/sundtek/opt/lib/ to /volume1/\@appstore/tvheadend/lib/
and changed permissions:
chown sc-tvheadend:tvheadend libmediaclient.so