Apparently tvheadend by default uses the syslog service, and the `-s`
option that we provide in the startup script in fact makes tvheadend
send debug messages to syslog (which we obviously do not want by default
as this causes for my single DVB card 1k/min to /var, which is 4MB/month).
So this fix disables the `-s` option in the tvheadend startup script.
closes#2053, closes#2055
added addon settings
enable HW PID filter (enabled for RPi by default)
enable IR receiver
allow sharing local tuner over network
use network tuners
sundtek's binaries are downloaded on first run
automatically download new version of the binaries if available
added preload library to .profile (to run mediaclient, w_scan, ... from console)
A few daemons are being started from init through a shell script. Since the daemon does not "deamonizes" properly, it's been put in the background from the shell by using ( ... ) &, however this leaves a lingering shell that serves no purpose. This patch improves this situation.
The situation before this change looked like:
init-+-Xorg
|-avahi-daemon
|-console-kit-dae-+-62*[{console-kit-da}]
| `-{gdbus}
|-dbus-daemon
|-eventlircd
|-klogd
: |-init---atvclient
|-init---connmand
: |-init---ratpoison
: |-init---udevadm
|-polkitd---{gdbus}
|-rpcbind
|-sshd---sshd---sh---pstree
|-syslogd
|-systemd-udevd
: |-tvheadend.start---tvheadend---12*[{tvheadend}]
|-udisks-daemon-+-udisks-daemon
| |-{gdbus}
| `-{gmain}
|-upowerd-+-{gdbus}
| `-{gmain}
|-wpa_supplicant
`-xbmc.bin---17*[{xbmc.bin}]
After this change, it looks like:
init-+-Xorg
: |-atvclient
|-avahi-daemon
|-console-kit-dae-+-62*[{console-kit-da}]
| `-{gdbus}
|-dbus-daemon
|-eventlircd
|-init---connmand
|-klogd
|-polkitd---{gdbus}
: |-ratpoison
|-rpcbind
|-sshd---sshd---sh---pstree
|-syslogd
|-systemd-udevd
: |-tvheadend---12*[{tvheadend}]
: |-udevadm
|-udisks-daemon-+-udisks-daemon
| |-{gdbus}
| `-{gmain}
|-upowerd-+-{gdbus}
| `-{gmain}
|-wpa_supplicant
`-xbmc.bin---17*[{xbmc.bin}]
Only for connmand this is not easily done since the shell loops and restarts connmand. In different circumstances /etc/inittab would respawn the process.