Created
May 8, 2012 16:15
-
-
Save anonymous/2636859 to your computer and use it in GitHub Desktop.
stdin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ _conf_d=/etc/init.d/../conf.d | |
+ _c=vdr | |
+ '[' -n vdr -a vdr '!=' vdr ']' | |
+ unset _c | |
+ sourcex -e /etc/init.d/../conf.d/vdr.default | |
+ '[' -e = -e ']' | |
+ shift | |
+ '[' -e /etc/init.d/../conf.d/vdr.default ']' | |
+ return 1 | |
+ sourcex -e /etc/init.d/../conf.d/vdr | |
+ '[' -e = -e ']' | |
+ shift | |
+ '[' -e /etc/init.d/../conf.d/vdr ']' | |
+ . /etc/init.d/../conf.d/vdr | |
++ VDR_SORT_ORDER=de_DE | |
++ LANG=de_DE.utf8 | |
++ LOG=3 | |
++ CHECK_SYSLOG_ERRORS=no | |
++ SCRIPT_DEBUG_LEVEL=2 | |
++ VIDEO=/mnt/video/video.00 | |
++ PLUGIN_CHECK_PATCHLEVEL=yes | |
+ unset _conf_d | |
+ sourcex -e /etc/rc.conf | |
+ '[' -e = -e ']' | |
+ shift | |
+ '[' -e /etc/rc.conf ']' | |
+ . /etc/rc.conf | |
++ rc_shell=/sbin/sulogin | |
++ unicode=YES | |
++ rc_sys= | |
++ rc_tty_number=12 | |
+ '[' Linux = Linux -a start = start ']' | |
+ '[' -d /sys/fs/cgroup/openrc ']' | |
+ mkdir -p /sys/fs/cgroup/openrc/vdr | |
+ echo 2600 | |
+ '[' -n '' ']' | |
+ sourcex /etc/init.d/vdr | |
+ '[' /etc/init.d/vdr = -e ']' | |
+ . /etc/init.d/vdr | |
++ extra_commands=watchdogrestart | |
++ . /etc/conf.d/vdr.watchdogd | |
+++ ENABLE_EXTERNAL_WATCHDOG=yes | |
+ unset _d | |
+ unset _f | |
+ '[' -n '' ']' | |
+ '[' -n start ']' | |
+ '[' start = depend ']' | |
+ for _cmd in describe start stop status '${extra_commands:-$opts}' '$extra_started_commands' '$extra_stopped_commands' | |
+ '[' describe = start ']' | |
+ for _cmd in describe start stop status '${extra_commands:-$opts}' '$extra_started_commands' '$extra_stopped_commands' | |
+ '[' start = start ']' | |
++ command -v start | |
+ '[' start = start ']' | |
+ yesno | |
+ '[' -z '' ']' | |
+ return 1 | |
+ unset _cmd | |
+ case $1 in | |
+ verify_boot | |
+ '[' '!' -e /lib/rc/init.d/softlevel ']' | |
+ return 0 | |
++ command -v start_pre | |
+ '[' '' = start_pre ']' | |
+ start | |
+ common_init | |
+ vdr_home=/var/vdr | |
+ cd /var/vdr | |
+ . /usr/share/vdr/inc/functions.sh | |
++ type yesno | |
+ include rc-functions | |
+ local name=rc-functions | |
++ tr - _ | |
++ echo rc-functions | |
+ local vname=loaded_rc_functions | |
+ local check | |
+ eval 'check=$loaded_rc_functions' | |
++ check= | |
+ '[' 0 = 1 ']' | |
+ . /usr/share/vdr/inc/rc-functions.sh | |
++ : /usr/share/vdr/rcscript | |
++ : 2 | |
++ SCRIPT_API=2 | |
++ read_caps | |
++ local capfile=/usr/share/vdr/capabilities.sh | |
++ '[' -f /usr/share/vdr/capabilities.sh ']' | |
++ . /usr/share/vdr/capabilities.sh | |
+++ CAP_UTF8=1 | |
+++ CAP_IRCTRL_RUNTIME_PARAM=1 | |
+++ CAP_VFAT_RUNTIME_PARAM=1 | |
+++ CAP_CHUID=1 | |
+++ CAP_SHUTDOWN_AUTO_RETRY=1 | |
++ '[' -z '' ']' | |
++ VDR_BIN=/usr/bin/vdr | |
++ getvdrversion | |
++ local include_dir=/usr/include/vdr | |
+++ awk '-F"' '/define VDRVERSION/ {print $2}' /usr/include/vdr/config.h | |
++ VDRVERSION=1.6.0-2 | |
+++ awk '-F"' '/define APIVERSION/ {print $2}' /usr/include/vdr/config.h | |
++ APIVERSION=1.6.0 | |
++ '[' -z 1.6.0 ']' | |
++ VDRNAME=vdr | |
++ yesno '' | |
++ '[' -z '' ']' | |
++ return 1 | |
++ getvdrversnum | |
++ local include_dir=/usr/include/vdr | |
+++ awk '/define VDRVERSNUM/ {print $3}' /usr/include/vdr/config.h | |
++ VDRVERSNUM=10600 | |
+ eval loaded_rc_functions=1 | |
++ loaded_rc_functions=1 | |
+ include plugin-functions | |
+ local name=plugin-functions | |
++ tr - _ | |
++ echo plugin-functions | |
+ local vname=loaded_plugin_functions | |
+ local check | |
+ eval 'check=$loaded_plugin_functions' | |
++ check= | |
+ '[' 0 = 1 ']' | |
+ . /usr/share/vdr/inc/plugin-functions.sh | |
+ eval loaded_plugin_functions=1 | |
++ loaded_plugin_functions=1 | |
+ include svdrpcmd | |
+ local name=svdrpcmd | |
++ tr - _ | |
++ echo svdrpcmd | |
+ local vname=loaded_svdrpcmd | |
+ local check | |
+ eval 'check=$loaded_svdrpcmd' | |
++ check= | |
+ '[' 0 = 1 ']' | |
+ . /usr/share/vdr/inc/svdrpcmd.sh | |
+ eval loaded_svdrpcmd=1 | |
++ loaded_svdrpcmd=1 | |
+ VDR_LOG_FILE=/var/vdr/tmp/vdr-start-log | |
+ start_vdr | |
+ einfo 'Preparing start of vdr:' | |
+ local _r | |
+ /lib/rc/bin/einfo 'Preparing start of vdr:' | |
* Preparing start of vdr: | |
+ _r=0 | |
+ export EINFO_LASTCMD=einfo | |
+ EINFO_LASTCMD=einfo | |
+ return 0 | |
+ clear_logfile | |
+ rm -f /var/vdr/tmp/vdr-start-log | |
+ printf '' | |
+ init_params | |
+ vdr_opts= | |
+ daemonctrl_opts= | |
+ add_daemonctrl_param --start --chdir /var/vdr --exec /usr/bin/vdr | |
+ '[' -n --start ']' | |
+ daemonctrl_opts=' '\''--start'\''' | |
+ shift | |
+ '[' -n --chdir ']' | |
+ daemonctrl_opts=' '\''--start'\'' '\''--chdir'\''' | |
+ shift | |
+ '[' -n /var/vdr ']' | |
+ daemonctrl_opts=' '\''--start'\'' '\''--chdir'\'' '\''/var/vdr'\''' | |
+ shift | |
+ '[' -n --exec ']' | |
+ daemonctrl_opts=' '\''--start'\'' '\''--chdir'\'' '\''/var/vdr'\'' '\''--exec'\''' | |
+ shift | |
+ '[' -n /usr/bin/vdr ']' | |
+ daemonctrl_opts=' '\''--start'\'' '\''--chdir'\'' '\''/var/vdr'\'' '\''--exec'\'' '\''/usr/bin/vdr'\''' | |
+ shift | |
+ '[' -n '' ']' | |
+ init_plugin_loader start | |
+ local phase=start | |
+ init_tmp_dirs | |
+ PL_TMP=/var/vdr/tmp | |
+ '[' '!' -d /var/vdr/tmp ']' | |
+ LOADED_PLUGINS_FILE=/var/vdr/tmp/loaded_plugins | |
+ PLUGINS= | |
+ skipped_plugins_patchlevel= | |
+ skipped_plugins_not_found= | |
+ local skip_tmp_file=/var/vdr/tmp/plugins_skipped | |
+ rm -f '/var/vdr/tmp/plugins_skipped*' | |
+ case "$phase" in | |
+ load_plugin_list_start | |
+ rm -f /var/vdr/tmp/loaded_plugins | |
+ prepare_plugin_checks | |
+ local include_dir=/usr/include/vdr | |
++ awk '/^PLUGINLIBDIR/{ print $3 }' /usr/include/vdr/Make.config | |
+ plugin_dir=/usr/lib/vdr/plugins | |
+ '[' -n /usr/lib/vdr/plugins ']' | |
+ plugin_dir=/usr/lib/vdr/plugins | |
+ vdr_checksum_dir=/usr/lib/vdr/checksums | |
+ vdr_checksum=/var/vdr/tmp/header-md5-vdr | |
+ _PLUGIN_CHECK_HEADER=false | |
+ yesno yes | |
+ '[' -z yes ']' | |
+ case "$1" in | |
+ return 0 | |
+ vdr-get-header-checksum | |
+ _PLUGIN_CHECK_HEADER=true | |
+ local PLUGIN_CONF=/etc/conf.d/vdr.plugins PLUGIN= line= | |
+ '[' -f /etc/conf.d/vdr.plugins ']' | |
+ exec | |
+ read line | |
+ '[' '# /etc/conf.d/vdr.plugins: vdr-plugins to load' = '' ']' | |
+ '[' ' /etc/conf.d/vdr.plugins: vdr-plugins to load' '!=' '# /etc/conf.d/vdr.plugins: vdr-plugins to load' ']' | |
+ continue | |
+ read line | |
+ '[' '#' = '' ']' | |
+ '[' '' '!=' '#' ']' | |
+ continue | |
+ read line | |
+ '[' '# Add the names of plugins that you'\''d like to load to this file.' = '' ']' | |
+ '[' ' Add the names of plugins that you'\''d like to load to this file.' '!=' '# Add the names of plugins that you'\''d like to load to this file.' ']' | |
+ continue | |
+ read line | |
+ '[' '#' = '' ']' | |
+ '[' '' '!=' '#' ']' | |
+ continue | |
+ read line | |
+ '[' '# Put only the name of the plugin in here. Additional command' = '' ']' | |
+ '[' ' Put only the name of the plugin in here. Additional command' '!=' '# Put only the name of the plugin in here. Additional command' ']' | |
+ continue | |
+ read line | |
+ '[' '# line options for plugins are put into /etc/conf.d/vdr.PLUGINNAME' = '' ']' | |
+ '[' ' line options for plugins are put into /etc/conf.d/vdr.PLUGINNAME' '!=' '# line options for plugins are put into /etc/conf.d/vdr.PLUGINNAME' ']' | |
+ continue | |
+ read line | |
+ '[' '# Either as _EXTRAOPTS="--option1 --option2". Or if special' = '' ']' | |
+ '[' ' Either as _EXTRAOPTS="--option1 --option2". Or if special' '!=' '# Either as _EXTRAOPTS="--option1 --option2". Or if special' ']' | |
+ continue | |
+ read line | |
+ '[' '# config variables are prepared these can be used.' = '' ']' | |
+ '[' ' config variables are prepared these can be used.' '!=' '# config variables are prepared these can be used.' ']' | |
+ continue | |
+ read line | |
+ '[' '#' = '' ']' | |
+ '[' '' '!=' '#' ']' | |
+ continue | |
+ read line | |
+ '[' '' = '' ']' | |
+ continue | |
+ read line | |
+ '[' '# For example:' = '' ']' | |
+ '[' ' For example:' '!=' '# For example:' ']' | |
+ continue | |
+ read line | |
+ '[' '# femon' = '' ']' | |
+ '[' ' femon' '!=' '# femon' ']' | |
+ continue | |
+ read line | |
+ '[' remote = '' ']' | |
+ '[' remote '!=' remote ']' | |
+ PLUGIN=remote | |
+ check_plugin remote | |
+ local PLUGIN=remote | |
+ local plugin_file=/usr/lib/vdr/plugins/libvdr-remote.so.1.6.0 | |
+ '[' '!' -f /usr/lib/vdr/plugins/libvdr-remote.so.1.6.0 ']' | |
+ local plugin_checksum_file=/usr/lib/vdr/checksums/header-md5-vdr-remote | |
+ true | |
+ '[' -e /usr/lib/vdr/checksums/header-md5-vdr-remote ']' | |
+ cmp -s /var/vdr/tmp/header-md5-vdr /usr/lib/vdr/checksums/header-md5-vdr-remote | |
+ return 0 | |
+ PLUGINS=' remote' | |
+ read line | |
+ '[' reelchannelscan = '' ']' | |
+ '[' reelchannelscan '!=' reelchannelscan ']' | |
+ PLUGIN=reelchannelscan | |
+ check_plugin reelchannelscan | |
+ local PLUGIN=reelchannelscan | |
+ local plugin_file=/usr/lib/vdr/plugins/libvdr-reelchannelscan.so.1.6.0 | |
+ '[' '!' -f /usr/lib/vdr/plugins/libvdr-reelchannelscan.so.1.6.0 ']' | |
+ local plugin_checksum_file=/usr/lib/vdr/checksums/header-md5-vdr-reelchannelscan | |
+ true | |
+ '[' -e /usr/lib/vdr/checksums/header-md5-vdr-reelchannelscan ']' | |
+ cmp -s /var/vdr/tmp/header-md5-vdr /usr/lib/vdr/checksums/header-md5-vdr-reelchannelscan | |
+ return 0 | |
+ PLUGINS=' remote reelchannelscan' | |
+ read line | |
+ '[' femon = '' ']' | |
+ '[' femon '!=' femon ']' | |
+ PLUGIN=femon | |
+ check_plugin femon | |
+ local PLUGIN=femon | |
+ local plugin_file=/usr/lib/vdr/plugins/libvdr-femon.so.1.6.0 | |
+ '[' '!' -f /usr/lib/vdr/plugins/libvdr-femon.so.1.6.0 ']' | |
+ local plugin_checksum_file=/usr/lib/vdr/checksums/header-md5-vdr-femon | |
+ true | |
+ '[' -e /usr/lib/vdr/checksums/header-md5-vdr-femon ']' | |
+ cmp -s /var/vdr/tmp/header-md5-vdr /usr/lib/vdr/checksums/header-md5-vdr-femon | |
+ return 0 | |
+ PLUGINS=' remote reelchannelscan femon' | |
+ read line | |
+ '[' tvonscreen = '' ']' | |
+ '[' tvonscreen '!=' tvonscreen ']' | |
+ PLUGIN=tvonscreen | |
+ check_plugin tvonscreen | |
+ local PLUGIN=tvonscreen | |
+ local plugin_file=/usr/lib/vdr/plugins/libvdr-tvonscreen.so.1.6.0 | |
+ '[' '!' -f /usr/lib/vdr/plugins/libvdr-tvonscreen.so.1.6.0 ']' | |
+ local plugin_checksum_file=/usr/lib/vdr/checksums/header-md5-vdr-tvonscreen | |
+ true | |
+ '[' -e /usr/lib/vdr/checksums/header-md5-vdr-tvonscreen ']' | |
+ cmp -s /var/vdr/tmp/header-md5-vdr /usr/lib/vdr/checksums/header-md5-vdr-tvonscreen | |
+ return 0 | |
+ PLUGINS=' remote reelchannelscan femon tvonscreen' | |
+ read line | |
+ exec | |
+ '[' -n '' ']' | |
+ '[' -n '' ']' | |
+ svdrp_command | |
+ '[' -e /usr/bin/svdrpsend.pl ']' | |
+ SVDRPCMD=/usr/bin/svdrpsend.pl | |
+ load_addons_prefixed pre-start | |
+ local addon_prefix=pre-start call_func=addon_main basename= ret=0 | |
+ for addon in '${vdr_rc_dir}/${addon_prefix}-*.sh' | |
+ load_addon /usr/share/vdr/rcscript/pre-start-10-chuid.sh addon_main | |
+ local addon=/usr/share/vdr/rcscript/pre-start-10-chuid.sh func=addon_main | |
+ local fname=/usr/share/vdr/rcscript//usr/share/vdr/rcscript/pre-start-10-chuid.sh.sh | |
+ '[' -f /usr/share/vdr/rcscript//usr/share/vdr/rcscript/pre-start-10-chuid.sh.sh ']' | |
+ fname=/usr/share/vdr/rcscript/pre-start-10-chuid.sh | |
+ '[' -f /usr/share/vdr/rcscript/pre-start-10-chuid.sh ']' | |
+ eval 'addon_main() { :; }' | |
+ sh -n /usr/share/vdr/rcscript/pre-start-10-chuid.sh | |
+ . /usr/share/vdr/rcscript/pre-start-10-chuid.sh | |
+ eval addon_main | |
++ addon_main | |
++ yesno '' | |
++ '[' -z '' ']' | |
++ return 1 | |
++ '[' -n 1 ']' | |
++ yesno '' | |
++ '[' -z '' ']' | |
++ return 1 | |
++ add_param -u vdr | |
++ '[' -n -u ']' | |
++ vdr_opts=' '\''-u'\''' | |
++ shift | |
++ '[' -n vdr ']' | |
++ vdr_opts=' '\''-u'\'' '\''vdr'\''' | |
++ shift | |
++ '[' -n '' ']' | |
++ yesno | |
++ '[' -z '' ']' | |
++ return 1 | |
++ return 0 | |
+ ret=0 | |
+ '[' 0 '!=' 0 ']' | |
+ for addon in '${vdr_rc_dir}/${addon_prefix}-*.sh' | |
+ load_addon /usr/share/vdr/rcscript/pre-start-20-dvb-device.sh addon_main | |
+ local addon=/usr/share/vdr/rcscript/pre-start-20-dvb-device.sh func=addon_main | |
+ local fname=/usr/share/vdr/rcscript//usr/share/vdr/rcscript/pre-start-20-dvb-device.sh.sh | |
+ '[' -f /usr/share/vdr/rcscript//usr/share/vdr/rcscript/pre-start-20-dvb-device.sh.sh ']' | |
+ fname=/usr/share/vdr/rcscript/pre-start-20-dvb-device.sh | |
+ '[' -f /usr/share/vdr/rcscript/pre-start-20-dvb-device.sh ']' | |
+ eval 'addon_main() { :; }' | |
+ sh -n /usr/share/vdr/rcscript/pre-start-20-dvb-device.sh | |
+ . /usr/share/vdr/rcscript/pre-start-20-dvb-device.sh | |
+ eval addon_main | |
++ addon_main | |
++ local ret | |
++ yesno yes | |
++ '[' -z yes ']' | |
++ case "$1" in | |
++ return 0 | |
++ ebegin ' Waiting for DVB devices' | |
++ local _r | |
++ /lib/rc/bin/ebegin ' Waiting for DVB devices' | |
* Waiting for DVB devices ...++ _r=0 | |
++ export EINFO_LASTCMD=ebegin | |
++ EINFO_LASTCMD=ebegin | |
++ return 0 | |
++ waitfor 10 check_dvbdevice | |
++ local waittime=10 cond=check_dvbdevice waited=0 status=1 | |
++ eval check_dvbdevice | |
+++ check_dvbdevice | |
+++ '[' -e /dev/dvb/adapter0/frontend0 ']' | |
+++ return 0 | |
++ status=0 | |
++ '[' 0 = 1 -a 0 -lt 10 ']' | |
++ debug_msg 'waited 0 seconds on check_dvbdevice' | |
++ has_debuglevel 1 | |
++ '[' 2 -ge 1 ']' | |
++ einfo 'waited 0 seconds on check_dvbdevice' | |
++ local _r | |
++ /lib/rc/bin/einfo 'waited 0 seconds on check_dvbdevice' | |
* waited 0 seconds on check_dvbdevice | |
++ _r=0 | |
++ export EINFO_LASTCMD=einfo | |
++ EINFO_LASTCMD=einfo | |
++ return 0 | |
++ return 0 | |
++ eend 0 ' No DVB device found.' | |
++ local _r | |
++ /lib/rc/bin/eend 0 ' No DVB device found.' | |
[ ok ] | |
++ _r=0 | |
++ export EINFO_LASTCMD=eend | |
++ EINFO_LASTCMD=eend | |
++ return 0 | |
++ '[' 0 = 1 ']' | |
++ return 0 | |
+ ret=0 | |
+ '[' 0 '!=' 0 ']' | |
+ for addon in '${vdr_rc_dir}/${addon_prefix}-*.sh' | |
+ load_addon /usr/share/vdr/rcscript/pre-start-30-parameter.sh addon_main | |
+ local addon=/usr/share/vdr/rcscript/pre-start-30-parameter.sh func=addon_main | |
+ local fname=/usr/share/vdr/rcscript//usr/share/vdr/rcscript/pre-start-30-parameter.sh.sh | |
+ '[' -f /usr/share/vdr/rcscript//usr/share/vdr/rcscript/pre-start-30-parameter.sh.sh ']' | |
+ fname=/usr/share/vdr/rcscript/pre-start-30-parameter.sh | |
+ '[' -f /usr/share/vdr/rcscript/pre-start-30-parameter.sh ']' | |
+ eval 'addon_main() { :; }' | |
+ sh -n /usr/share/vdr/rcscript/pre-start-30-parameter.sh | |
+ . /usr/share/vdr/rcscript/pre-start-30-parameter.sh | |
+ eval addon_main | |
++ addon_main | |
++ '[' -n '' ']' | |
++ '[' -n '' ']' | |
++ add_param --watchdog=60 | |
++ '[' -n --watchdog=60 ']' | |
++ vdr_opts=' '\''-u'\'' '\''vdr'\'' '\''--watchdog=60'\''' | |
++ shift | |
++ '[' -n '' ']' | |
++ '[' -n '' ']' | |
++ yesno '' | |
++ '[' -z '' ']' | |
++ return 1 | |
++ '[' -n '' ']' | |
++ '[' -n '' ']' | |
++ '[' -n '' ']' | |
++ add_param --log=3 | |
++ '[' -n --log=3 ']' | |
++ vdr_opts=' '\''-u'\'' '\''vdr'\'' '\''--watchdog=60'\'' '\''--log=3'\''' | |
++ shift | |
++ '[' -n '' ']' | |
++ '[' -z /mnt/video/video.00 ']' | |
++ '[' '!' -d /mnt/video/video.00 ']' | |
++ add_param --video=/mnt/video/video.00 | |
++ '[' -n --video=/mnt/video/video.00 ']' | |
++ vdr_opts=' '\''-u'\'' '\''vdr'\'' '\''--watchdog=60'\'' '\''--log=3'\'' '\''--video=/mnt/video/video.00'\''' | |
++ shift | |
++ '[' -n '' ']' | |
++ '[' -n '' ']' | |
++ '[' -n '' ']' | |
++ '[' -n 1 ']' | |
++ '[' -n '' ']' | |
++ '[' -n 1 ']' | |
++ yesno '' | |
++ '[' -z '' ']' | |
++ return 1 | |
++ add_param --record=/usr/share/vdr/bin/vdrrecord-gate.sh | |
++ '[' -n --record=/usr/share/vdr/bin/vdrrecord-gate.sh ']' | |
++ vdr_opts=' '\''-u'\'' '\''vdr'\'' '\''--watchdog=60'\'' '\''--log=3'\'' '\''--video=/mnt/video/video.00'\'' '\''--record=/usr/share/vdr/bin/vdrrecord-gate.sh'\''' | |
++ shift | |
++ '[' -n '' ']' | |
++ '[' -n '' ']' | |
++ return 0 | |
+ ret=0 | |
+ '[' 0 '!=' 0 ']' | |
+ for addon in '${vdr_rc_dir}/${addon_prefix}-*.sh' | |
+ load_addon /usr/share/vdr/rcscript/pre-start-40-config-files.sh addon_main | |
+ local addon=/usr/share/vdr/rcscript/pre-start-40-config-files.sh func=addon_main | |
+ local fname=/usr/share/vdr/rcscript//usr/share/vdr/rcscript/pre-start-40-config-files.sh.sh | |
+ '[' -f /usr/share/vdr/rcscript//usr/share/vdr/rcscript/pre-start-40-config-files.sh.sh ']' | |
+ fname=/usr/share/vdr/rcscript/pre-start-40-config-files.sh | |
+ '[' -f /usr/share/vdr/rcscript/pre-start-40-config-files.sh ']' | |
+ eval 'addon_main() { :; }' | |
+ sh -n /usr/share/vdr/rcscript/pre-start-40-config-files.sh | |
+ . /usr/share/vdr/rcscript/pre-start-40-config-files.sh | |
++ include commands-functions | |
++ local name=commands-functions | |
+++ tr - _ | |
+++ echo commands-functions | |
++ local vname=loaded_commands_functions | |
++ local check | |
++ eval 'check=$loaded_commands_functions' | |
+++ check= | |
++ '[' 0 = 1 ']' | |
++ . /usr/share/vdr/inc/commands-functions.sh | |
+++ include language-functions | |
+++ local name=language-functions | |
++++ tr - _ | |
++++ echo language-functions | |
+++ local vname=loaded_language_functions | |
+++ local check | |
+++ eval 'check=$loaded_language_functions' | |
++++ check= | |
+++ '[' 0 = 1 ']' | |
+++ . /usr/share/vdr/inc/language-functions.sh | |
+++ eval loaded_language_functions=1 | |
++++ loaded_language_functions=1 | |
++ eval loaded_commands_functions=1 | |
+++ loaded_commands_functions=1 | |
+ eval addon_main | |
++ addon_main | |
++ ebegin ' Checking config files' | |
++ local _r | |
++ /lib/rc/bin/ebegin ' Checking config files' | |
* Checking config files ...++ _r=0 | |
++ export EINFO_LASTCMD=ebegin | |
++ EINFO_LASTCMD=ebegin | |
++ return 0 | |
++ '[' '!' -d /var/vdr ']' | |
++ merge_commands_conf /etc/vdr/commands /etc/vdr/commands.conf '' | |
++ read_vdr_language | |
++ '[' -n ']' | |
++ return | |
++ local CONFIG=/etc/vdr | |
++ local sdir=/etc/vdr/commands destfile=/etc/vdr/commands.conf order= | |
++ local bname=commands.conf | |
++ local mergedfile=/var/vdr/merged-config-files/commands.conf | |
++ '[' -f /var/vdr/merged-config-files/commands.conf ']' | |
++ rm /var/vdr/merged-config-files/commands.conf | |
++ cat | |
++ test -d /etc/vdr/commands | |
+++ echo /etc/vdr/commands/commands.custom.conf /etc/vdr/commands/commands.system.conf | |
++ SFILES='/etc/vdr/commands/commands.custom.conf /etc/vdr/commands/commands.system.conf' | |
++ local f= inputf= | |
++ for f in '${SFILES}' | |
++ '[' -f /etc/vdr/commands/commands.custom.conf ']' | |
++ inputf=/etc/vdr/commands/commands.custom.conf | |
++ '[' -f /etc/vdr/commands/commands.custom.conf. ']' | |
++ echo '# source : /etc/vdr/commands/commands.custom.conf' | |
++ cat /etc/vdr/commands/commands.custom.conf | |
++ echo | |
++ for f in '${SFILES}' | |
++ '[' -f /etc/vdr/commands/commands.system.conf ']' | |
++ inputf=/etc/vdr/commands/commands.system.conf | |
++ '[' -f /etc/vdr/commands/commands.system.conf. ']' | |
++ echo '# source : /etc/vdr/commands/commands.system.conf' | |
++ cat /etc/vdr/commands/commands.system.conf | |
++ echo | |
++ chown vdr:vdr /var/vdr/merged-config-files/commands.conf | |
++ '[' -L /etc/vdr/commands.conf ']' | |
++ rm /etc/vdr/commands.conf | |
++ ln -s /var/vdr/merged-config-files/commands.conf /etc/vdr/commands.conf | |
++ merge_commands_conf /etc/vdr/reccmds /etc/vdr/reccmds.conf '' | |
++ read_vdr_language | |
++ '[' -n ']' | |
++ return | |
++ local CONFIG=/etc/vdr | |
++ local sdir=/etc/vdr/reccmds destfile=/etc/vdr/reccmds.conf order= | |
++ local bname=reccmds.conf | |
++ local mergedfile=/var/vdr/merged-config-files/reccmds.conf | |
++ '[' -f /var/vdr/merged-config-files/reccmds.conf ']' | |
++ rm /var/vdr/merged-config-files/reccmds.conf | |
++ cat | |
++ test -d /etc/vdr/reccmds | |
+++ echo /etc/vdr/reccmds/reccmds.custom.conf /etc/vdr/reccmds/reccmds.noad.conf | |
++ SFILES='/etc/vdr/reccmds/reccmds.custom.conf /etc/vdr/reccmds/reccmds.noad.conf' | |
++ local f= inputf= | |
++ for f in '${SFILES}' | |
++ '[' -f /etc/vdr/reccmds/reccmds.custom.conf ']' | |
++ inputf=/etc/vdr/reccmds/reccmds.custom.conf | |
++ '[' -f /etc/vdr/reccmds/reccmds.custom.conf. ']' | |
++ echo '# source : /etc/vdr/reccmds/reccmds.custom.conf' | |
++ cat /etc/vdr/reccmds/reccmds.custom.conf | |
++ echo | |
++ for f in '${SFILES}' | |
++ '[' -f /etc/vdr/reccmds/reccmds.noad.conf ']' | |
++ inputf=/etc/vdr/reccmds/reccmds.noad.conf | |
++ '[' -f /etc/vdr/reccmds/reccmds.noad.conf. ']' | |
++ echo '# source : /etc/vdr/reccmds/reccmds.noad.conf' | |
++ cat /etc/vdr/reccmds/reccmds.noad.conf | |
++ echo | |
++ chown vdr:vdr /var/vdr/merged-config-files/reccmds.conf | |
++ '[' -L /etc/vdr/reccmds.conf ']' | |
++ rm /etc/vdr/reccmds.conf | |
++ ln -s /var/vdr/merged-config-files/reccmds.conf /etc/vdr/reccmds.conf | |
++ '[' -f /etc/vdr/setup.conf ']' | |
++ '[' -n '' ']' | |
++ '[' -n '' ']' | |
++ eend 0 | |
++ local _r | |
++ /lib/rc/bin/eend 0 | |
[ ok ] | |
++ _r=0 | |
++ export EINFO_LASTCMD=eend | |
++ EINFO_LASTCMD=eend | |
++ return 0 | |
++ '[' '!' -e /etc/vdr/channels.conf ']' | |
++ return 0 | |
+ ret=0 | |
+ '[' 0 '!=' 0 ']' | |
+ for addon in '${vdr_rc_dir}/${addon_prefix}-*.sh' | |
+ load_addon /usr/share/vdr/rcscript/pre-start-45-locales.sh addon_main | |
+ local addon=/usr/share/vdr/rcscript/pre-start-45-locales.sh func=addon_main | |
+ local fname=/usr/share/vdr/rcscript//usr/share/vdr/rcscript/pre-start-45-locales.sh.sh | |
+ '[' -f /usr/share/vdr/rcscript//usr/share/vdr/rcscript/pre-start-45-locales.sh.sh ']' | |
+ fname=/usr/share/vdr/rcscript/pre-start-45-locales.sh | |
+ '[' -f /usr/share/vdr/rcscript/pre-start-45-locales.sh ']' | |
+ eval 'addon_main() { :; }' | |
+ sh -n /usr/share/vdr/rcscript/pre-start-45-locales.sh | |
+ . /usr/share/vdr/rcscript/pre-start-45-locales.sh | |
+ eval addon_main | |
++ addon_main | |
++ '[' -n 1 ']' | |
++ '[' -n de_DE.utf8 ']' | |
++ export LANG | |
+++ locale charmap | |
++ local charmap=UTF-8 | |
++ '[' UTF-8 = ANSI_X3.4-1968 ']' | |
++ '[' -n de_DE ']' | |
++ export LC_COLLATE=de_DE | |
++ LC_COLLATE=de_DE | |
++ return 0 | |
+ ret=0 | |
+ '[' 0 '!=' 0 ']' | |
+ for addon in '${vdr_rc_dir}/${addon_prefix}-*.sh' | |
+ load_addon /usr/share/vdr/rcscript/pre-start-45-nptl-check.sh addon_main | |
+ local addon=/usr/share/vdr/rcscript/pre-start-45-nptl-check.sh func=addon_main | |
+ local fname=/usr/share/vdr/rcscript//usr/share/vdr/rcscript/pre-start-45-nptl-check.sh.sh | |
+ '[' -f /usr/share/vdr/rcscript//usr/share/vdr/rcscript/pre-start-45-nptl-check.sh.sh ']' | |
+ fname=/usr/share/vdr/rcscript/pre-start-45-nptl-check.sh | |
+ '[' -f /usr/share/vdr/rcscript/pre-start-45-nptl-check.sh ']' | |
+ eval 'addon_main() { :; }' | |
+ sh -n /usr/share/vdr/rcscript/pre-start-45-nptl-check.sh | |
+ . /usr/share/vdr/rcscript/pre-start-45-nptl-check.sh | |
+ eval addon_main | |
++ addon_main | |
++ yesno no | |
++ '[' -z no ']' | |
++ case "$1" in | |
++ return 1 | |
++ return 0 | |
+ ret=0 | |
+ '[' 0 '!=' 0 ']' | |
+ for addon in '${vdr_rc_dir}/${addon_prefix}-*.sh' | |
+ load_addon /usr/share/vdr/rcscript/pre-start-50-shutdown.sh addon_main | |
+ local addon=/usr/share/vdr/rcscript/pre-start-50-shutdown.sh func=addon_main | |
+ local fname=/usr/share/vdr/rcscript//usr/share/vdr/rcscript/pre-start-50-shutdown.sh.sh | |
+ '[' -f /usr/share/vdr/rcscript//usr/share/vdr/rcscript/pre-start-50-shutdown.sh.sh ']' | |
+ fname=/usr/share/vdr/rcscript/pre-start-50-shutdown.sh | |
+ '[' -f /usr/share/vdr/rcscript/pre-start-50-shutdown.sh ']' | |
+ eval 'addon_main() { :; }' | |
+ sh -n /usr/share/vdr/rcscript/pre-start-50-shutdown.sh | |
+ . /usr/share/vdr/rcscript/pre-start-50-shutdown.sh | |
+ eval addon_main | |
++ addon_main | |
++ include shutdown-functions | |
++ local name=shutdown-functions | |
+++ tr - _ | |
+++ echo shutdown-functions | |
++ local vname=loaded_shutdown_functions | |
++ local check | |
++ eval 'check=$loaded_shutdown_functions' | |
+++ check= | |
++ '[' 0 = 1 ']' | |
++ . /usr/share/vdr/inc/shutdown-functions.sh | |
+++ shutdown_data_dir=/var/vdr/shutdown-data | |
+++ . /etc/conf.d/vdr.shutdown | |
++++ SHUTDOWN_ACTIVE=yes | |
++++ WAKEUP_METHOD=nvram | |
++++ NVRAM_EXTRA_OPTIONS='--iwname ecs_k7s5a_1 --directisa' | |
++++ BOOT_MANAGER=grub | |
++++ REBOOT_ENTRY_GRUB=1 | |
++ eval loaded_shutdown_functions=1 | |
+++ loaded_shutdown_functions=1 | |
++ yesno yes | |
++ '[' -z yes ']' | |
++ case "$1" in | |
++ return 0 | |
++ '[' -n '' ']' | |
++ add_param --shutdown=/usr/share/vdr/bin/vdrshutdown-gate.sh | |
++ '[' -n --shutdown=/usr/share/vdr/bin/vdrshutdown-gate.sh ']' | |
++ vdr_opts=' '\''-u'\'' '\''vdr'\'' '\''--watchdog=60'\'' '\''--log=3'\'' '\''--video=/mnt/video/video.00'\'' '\''--record=/usr/share/vdr/bin/vdrrecord-gate.sh'\'' '\''--shutdown=/usr/share/vdr/bin/vdrshutdown-gate.sh'\''' | |
++ shift | |
++ '[' -n '' ']' | |
++ grep -q /usr/share/vdr/bin/vdrshutdown-really.sh /etc/sudoers | |
++ return 0 | |
+ ret=0 | |
+ '[' 0 '!=' 0 ']' | |
+ for addon in '${vdr_rc_dir}/${addon_prefix}-*.sh' | |
+ load_addon /usr/share/vdr/rcscript/pre-start-60-check-syslog-errors.sh addon_main | |
+ local addon=/usr/share/vdr/rcscript/pre-start-60-check-syslog-errors.sh func=addon_main | |
+ local fname=/usr/share/vdr/rcscript//usr/share/vdr/rcscript/pre-start-60-check-syslog-errors.sh.sh | |
+ '[' -f /usr/share/vdr/rcscript//usr/share/vdr/rcscript/pre-start-60-check-syslog-errors.sh.sh ']' | |
+ fname=/usr/share/vdr/rcscript/pre-start-60-check-syslog-errors.sh | |
+ '[' -f /usr/share/vdr/rcscript/pre-start-60-check-syslog-errors.sh ']' | |
+ eval 'addon_main() { :; }' | |
+ sh -n /usr/share/vdr/rcscript/pre-start-60-check-syslog-errors.sh | |
+ . /usr/share/vdr/rcscript/pre-start-60-check-syslog-errors.sh | |
+ eval addon_main | |
++ addon_main | |
++ yesno no | |
++ '[' -z no ']' | |
++ case "$1" in | |
++ return 1 | |
++ return 0 | |
+ ret=0 | |
+ '[' 0 '!=' 0 ']' | |
+ for addon in '${vdr_rc_dir}/${addon_prefix}-*.sh' | |
+ load_addon /usr/share/vdr/rcscript/pre-start-95-plugins.sh addon_main | |
+ local addon=/usr/share/vdr/rcscript/pre-start-95-plugins.sh func=addon_main | |
+ local fname=/usr/share/vdr/rcscript//usr/share/vdr/rcscript/pre-start-95-plugins.sh.sh | |
+ '[' -f /usr/share/vdr/rcscript//usr/share/vdr/rcscript/pre-start-95-plugins.sh.sh ']' | |
+ fname=/usr/share/vdr/rcscript/pre-start-95-plugins.sh | |
+ '[' -f /usr/share/vdr/rcscript/pre-start-95-plugins.sh ']' | |
+ eval 'addon_main() { :; }' | |
+ sh -n /usr/share/vdr/rcscript/pre-start-95-plugins.sh | |
+ . /usr/share/vdr/rcscript/pre-start-95-plugins.sh | |
+ eval addon_main | |
++ addon_main | |
++ loop_all_plugins plugin_pre_vdr_start | |
++ local PLUGIN func=plugin_pre_vdr_start prepare_cmdline=0 | |
++ case "$func" in | |
++ for PLUGIN in '${PLUGINS}' | |
++ SKIP_PLUGIN=0 | |
++ vdrplugin_opts=--plugin=remote | |
++ run_plugin_addon remote plugin_pre_vdr_start | |
++ local PLUGIN=remote | |
++ local call_func=plugin_pre_vdr_start | |
++ unset _EXTRAOPTS | |
++ '[' -f /etc/conf.d/vdr.remote ']' | |
++ . /etc/conf.d/vdr.remote | |
++ load_addon plugin-remote plugin_pre_vdr_start | |
++ local addon=plugin-remote func=plugin_pre_vdr_start | |
++ local fname=/usr/share/vdr/rcscript/plugin-remote.sh | |
++ '[' -f /usr/share/vdr/rcscript/plugin-remote.sh ']' | |
++ '[' -f /usr/share/vdr/rcscript/plugin-remote.sh ']' | |
++ eval 'plugin_pre_vdr_start() { :; }' | |
++ sh -n /usr/share/vdr/rcscript/plugin-remote.sh | |
++ . /usr/share/vdr/rcscript/plugin-remote.sh | |
++ eval plugin_pre_vdr_start | |
+++ plugin_pre_vdr_start | |
+++ '[' autodetect = autodetect ']' | |
+++ REMOTE_PLUGIN_INPUT_DEVICE= | |
+++ autodetect_input_devices | |
+++ '[' -e /proc/bus/input/devices ']' | |
+++ exec | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ check_device '' '' | |
+++ local handlers= | |
+++ local name= | |
+++ local eventdev= | |
+++ '[' '' = '' ']' | |
+++ return | |
+++ device= | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ name='Sleep Button"' | |
+++ name='Sleep Button' | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ device='kbd event0' | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ check_device 'kbd event0' 'Sleep Button' | |
+++ local 'handlers=kbd event0' | |
+++ local 'name=Sleep Button' | |
+++ local eventdev= | |
+++ '[' 'kbd event0' = '' ']' | |
+++ local handler | |
+++ for handler in '${handlers}' | |
+++ case "${handler}" in | |
+++ for handler in '${handlers}' | |
+++ case "${handler}" in | |
+++ eventdev=event0 | |
+++ '[' event0 = '' ']' | |
+++ case "${name}" in | |
+++ device= | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ name='Power Button"' | |
+++ name='Power Button' | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ device='kbd event1' | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ check_device 'kbd event1' 'Power Button' | |
+++ local 'handlers=kbd event1' | |
+++ local 'name=Power Button' | |
+++ local eventdev= | |
+++ '[' 'kbd event1' = '' ']' | |
+++ local handler | |
+++ for handler in '${handlers}' | |
+++ case "${handler}" in | |
+++ for handler in '${handlers}' | |
+++ case "${handler}" in | |
+++ eventdev=event1 | |
+++ '[' event1 = '' ']' | |
+++ case "${name}" in | |
+++ device= | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ name='ORTEK Smartpad Keyboard"' | |
+++ name='ORTEK Smartpad Keyboard' | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ device='sysrq kbd event2' | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ check_device 'sysrq kbd event2' 'ORTEK Smartpad Keyboard' | |
+++ local 'handlers=sysrq kbd event2' | |
+++ local 'name=ORTEK Smartpad Keyboard' | |
+++ local eventdev= | |
+++ '[' 'sysrq kbd event2' = '' ']' | |
+++ local handler | |
+++ for handler in '${handlers}' | |
+++ case "${handler}" in | |
+++ for handler in '${handlers}' | |
+++ case "${handler}" in | |
+++ for handler in '${handlers}' | |
+++ case "${handler}" in | |
+++ eventdev=event2 | |
+++ '[' event2 = '' ']' | |
+++ case "${name}" in | |
+++ device= | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ name='ORTEK Smartpad Keyboard"' | |
+++ name='ORTEK Smartpad Keyboard' | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ device='kbd mouse0 event3' | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ check_device 'kbd mouse0 event3' 'ORTEK Smartpad Keyboard' | |
+++ local 'handlers=kbd mouse0 event3' | |
+++ local 'name=ORTEK Smartpad Keyboard' | |
+++ local eventdev= | |
+++ '[' 'kbd mouse0 event3' = '' ']' | |
+++ local handler | |
+++ for handler in '${handlers}' | |
+++ case "${handler}" in | |
+++ for handler in '${handlers}' | |
+++ case "${handler}" in | |
+++ for handler in '${handlers}' | |
+++ case "${handler}" in | |
+++ eventdev=event3 | |
+++ '[' event3 = '' ']' | |
+++ case "${name}" in | |
+++ device= | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ name='PC Speaker"' | |
+++ name='PC Speaker' | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ device='kbd event4' | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ check_device 'kbd event4' 'PC Speaker' | |
+++ local 'handlers=kbd event4' | |
+++ local 'name=PC Speaker' | |
+++ local eventdev= | |
+++ '[' 'kbd event4' = '' ']' | |
+++ local handler | |
+++ for handler in '${handlers}' | |
+++ case "${handler}" in | |
+++ for handler in '${handlers}' | |
+++ case "${handler}" in | |
+++ eventdev=event4 | |
+++ '[' event4 = '' ']' | |
+++ case "${name}" in | |
+++ device= | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ name='DVB on-card IR receiver"' | |
+++ name='DVB on-card IR receiver' | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ device='kbd event5' | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ check_device 'kbd event5' 'DVB on-card IR receiver' | |
+++ local 'handlers=kbd event5' | |
+++ local 'name=DVB on-card IR receiver' | |
+++ local eventdev= | |
+++ '[' 'kbd event5' = '' ']' | |
+++ local handler | |
+++ for handler in '${handlers}' | |
+++ case "${handler}" in | |
+++ for handler in '${handlers}' | |
+++ case "${handler}" in | |
+++ eventdev=event5 | |
+++ '[' event5 = '' ']' | |
+++ case "${name}" in | |
+++ einfo_level1 'Autodetect Input Device event5 (Name: DVB on-card IR receiver)' | |
+++ debug_msg 'Autodetect Input Device event5 (Name: DVB on-card IR receiver)' | |
+++ has_debuglevel 1 | |
+++ '[' 2 -ge 1 ']' | |
+++ einfo 'Autodetect Input Device event5 (Name: DVB on-card IR receiver)' | |
+++ local _r | |
+++ /lib/rc/bin/einfo 'Autodetect Input Device event5 (Name: DVB on-card IR receiver)' | |
* Autodetect Input Device event5 (Name: DVB on-card IR receiver) | |
+++ _r=0 | |
+++ export EINFO_LASTCMD=einfo | |
+++ EINFO_LASTCMD=einfo | |
+++ return 0 | |
+++ REMOTE_PLUGIN_INPUT_DEVICE=' /dev/input/event5' | |
+++ device= | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ name='Budget-CI dvb ir receiver saa7146 (1)"' | |
+++ name='Budget-CI dvb ir receiver saa7146 (1)' | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ device='kbd event6' | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ check_device 'kbd event6' 'Budget-CI dvb ir receiver saa7146 (1)' | |
+++ local 'handlers=kbd event6' | |
+++ local 'name=Budget-CI dvb ir receiver saa7146 (1)' | |
+++ local eventdev= | |
+++ '[' 'kbd event6' = '' ']' | |
+++ local handler | |
+++ for handler in '${handlers}' | |
+++ case "${handler}" in | |
+++ for handler in '${handlers}' | |
+++ case "${handler}" in | |
+++ eventdev=event6 | |
+++ '[' event6 = '' ']' | |
+++ case "${name}" in | |
+++ einfo_level1 'Autodetect Input Device event6 (Name: Budget-CI dvb ir receiver saa7146 (1))' | |
+++ debug_msg 'Autodetect Input Device event6 (Name: Budget-CI dvb ir receiver saa7146 (1))' | |
+++ has_debuglevel 1 | |
+++ '[' 2 -ge 1 ']' | |
+++ einfo 'Autodetect Input Device event6 (Name: Budget-CI dvb ir receiver saa7146 (1))' | |
+++ local _r | |
+++ /lib/rc/bin/einfo 'Autodetect Input Device event6 (Name: Budget-CI dvb ir receiver saa7146 (1))' | |
* Autodetect Input Device event6 (Name: Budget-CI dvb ir receiver saa7146 (1)) | |
+++ _r=0 | |
+++ export EINFO_LASTCMD=einfo | |
+++ EINFO_LASTCMD=einfo | |
+++ return 0 | |
+++ REMOTE_PLUGIN_INPUT_DEVICE=' /dev/input/event5 /dev/input/event6' | |
+++ device= | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ name='cx88 IR (Hauppauge Nova-S-Plus "' | |
+++ name='cx88 IR (Hauppauge Nova-S-Plus ' | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ device='kbd event7' | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ case ${line} in | |
+++ read -u 3 line | |
+++ check_device 'kbd event7' 'cx88 IR (Hauppauge Nova-S-Plus ' | |
+++ local 'handlers=kbd event7' | |
+++ local 'name=cx88 IR (Hauppauge Nova-S-Plus ' | |
+++ local eventdev= | |
+++ '[' 'kbd event7' = '' ']' | |
+++ local handler | |
+++ for handler in '${handlers}' | |
+++ case "${handler}" in | |
+++ for handler in '${handlers}' | |
+++ case "${handler}" in | |
+++ eventdev=event7 | |
+++ '[' event7 = '' ']' | |
+++ case "${name}" in | |
+++ exec | |
+++ '[' -n ' /dev/input/event5 /dev/input/event6' ']' | |
+++ '[' ' /dev/input/event5 /dev/input/event6' '!=' no ']' | |
+++ '[' -e /proc/av7110_ir ']' | |
+++ chown vdr:vdr /proc/av7110_ir | |
+++ for dev in '${REMOTE_PLUGIN_INPUT_DEVICE}' | |
+++ '[' -e /dev/input/event5 ']' | |
+++ chown vdr:vdr /dev/input/event5 | |
+++ add_plugin_param --input=/dev/input/event5 | |
+++ vdrplugin_opts='--plugin=remote --input=/dev/input/event5' | |
+++ for dev in '${REMOTE_PLUGIN_INPUT_DEVICE}' | |
+++ '[' -e /dev/input/event6 ']' | |
+++ chown vdr:vdr /dev/input/event6 | |
+++ add_plugin_param --input=/dev/input/event6 | |
+++ vdrplugin_opts='--plugin=remote --input=/dev/input/event5 --input=/dev/input/event6' | |
+++ '[' -n '' ']' | |
+++ '[' -n '' ']' | |
+++ '[' -n '' ']' | |
+++ '[' -n '' ']' | |
++ '[' 0 = 1 ']' | |
++ add_plugin_params_to_vdr_call | |
++ add_param '--plugin=remote --input=/dev/input/event5 --input=/dev/input/event6 ' | |
++ '[' -n '--plugin=remote --input=/dev/input/event5 --input=/dev/input/event6 ' ']' | |
++ vdr_opts=' '\''-u'\'' '\''vdr'\'' '\''--watchdog=60'\'' '\''--log=3'\'' '\''--video=/mnt/video/video.00'\'' '\''--record=/usr/share/vdr/bin/vdrrecord-gate.sh'\'' '\''--shutdown=/usr/share/vdr/bin/vdrshutdown-gate.sh'\'' '\''--plugin=remote --input=/dev/input/event5 --input=/dev/input/event6 '\''' | |
++ shift | |
++ '[' -n '' ']' | |
++ echo remote | |
++ for PLUGIN in '${PLUGINS}' | |
++ SKIP_PLUGIN=0 | |
++ vdrplugin_opts=--plugin=reelchannelscan | |
++ run_plugin_addon reelchannelscan plugin_pre_vdr_start | |
++ local PLUGIN=reelchannelscan | |
++ local call_func=plugin_pre_vdr_start | |
++ unset _EXTRAOPTS | |
++ '[' -f /etc/conf.d/vdr.reelchannelscan ']' | |
++ load_addon plugin-reelchannelscan plugin_pre_vdr_start | |
++ local addon=plugin-reelchannelscan func=plugin_pre_vdr_start | |
++ local fname=/usr/share/vdr/rcscript/plugin-reelchannelscan.sh | |
++ '[' -f /usr/share/vdr/rcscript/plugin-reelchannelscan.sh ']' | |
++ fname=plugin-reelchannelscan | |
++ '[' -f plugin-reelchannelscan ']' | |
++ return 0 | |
++ '[' 0 = 1 ']' | |
++ add_plugin_params_to_vdr_call | |
++ add_param '--plugin=reelchannelscan ' | |
++ '[' -n '--plugin=reelchannelscan ' ']' | |
++ vdr_opts=' '\''-u'\'' '\''vdr'\'' '\''--watchdog=60'\'' '\''--log=3'\'' '\''--video=/mnt/video/video.00'\'' '\''--record=/usr/share/vdr/bin/vdrrecord-gate.sh'\'' '\''--shutdown=/usr/share/vdr/bin/vdrshutdown-gate.sh'\'' '\''--plugin=remote --input=/dev/input/event5 --input=/dev/input/event6 '\'' '\''--plugin=reelchannelscan '\''' | |
++ shift | |
++ '[' -n '' ']' | |
++ echo reelchannelscan | |
++ for PLUGIN in '${PLUGINS}' | |
++ SKIP_PLUGIN=0 | |
++ vdrplugin_opts=--plugin=femon | |
++ run_plugin_addon femon plugin_pre_vdr_start | |
++ local PLUGIN=femon | |
++ local call_func=plugin_pre_vdr_start | |
++ unset _EXTRAOPTS | |
++ '[' -f /etc/conf.d/vdr.femon ']' | |
++ load_addon plugin-femon plugin_pre_vdr_start | |
++ local addon=plugin-femon func=plugin_pre_vdr_start | |
++ local fname=/usr/share/vdr/rcscript/plugin-femon.sh | |
++ '[' -f /usr/share/vdr/rcscript/plugin-femon.sh ']' | |
++ fname=plugin-femon | |
++ '[' -f plugin-femon ']' | |
++ return 0 | |
++ '[' 0 = 1 ']' | |
++ add_plugin_params_to_vdr_call | |
++ add_param '--plugin=femon ' | |
++ '[' -n '--plugin=femon ' ']' | |
++ vdr_opts=' '\''-u'\'' '\''vdr'\'' '\''--watchdog=60'\'' '\''--log=3'\'' '\''--video=/mnt/video/video.00'\'' '\''--record=/usr/share/vdr/bin/vdrrecord-gate.sh'\'' '\''--shutdown=/usr/share/vdr/bin/vdrshutdown-gate.sh'\'' '\''--plugin=remote --input=/dev/input/event5 --input=/dev/input/event6 '\'' '\''--plugin=reelchannelscan '\'' '\''--plugin=femon '\''' | |
++ shift | |
++ '[' -n '' ']' | |
++ echo femon | |
++ for PLUGIN in '${PLUGINS}' | |
++ SKIP_PLUGIN=0 | |
++ vdrplugin_opts=--plugin=tvonscreen | |
++ run_plugin_addon tvonscreen plugin_pre_vdr_start | |
++ local PLUGIN=tvonscreen | |
++ local call_func=plugin_pre_vdr_start | |
++ unset _EXTRAOPTS | |
++ '[' -f /etc/conf.d/vdr.tvonscreen ']' | |
++ load_addon plugin-tvonscreen plugin_pre_vdr_start | |
++ local addon=plugin-tvonscreen func=plugin_pre_vdr_start | |
++ local fname=/usr/share/vdr/rcscript/plugin-tvonscreen.sh | |
++ '[' -f /usr/share/vdr/rcscript/plugin-tvonscreen.sh ']' | |
++ fname=plugin-tvonscreen | |
++ '[' -f plugin-tvonscreen ']' | |
++ return 0 | |
++ '[' 0 = 1 ']' | |
++ add_plugin_params_to_vdr_call | |
++ add_param '--plugin=tvonscreen ' | |
++ '[' -n '--plugin=tvonscreen ' ']' | |
++ vdr_opts=' '\''-u'\'' '\''vdr'\'' '\''--watchdog=60'\'' '\''--log=3'\'' '\''--video=/mnt/video/video.00'\'' '\''--record=/usr/share/vdr/bin/vdrrecord-gate.sh'\'' '\''--shutdown=/usr/share/vdr/bin/vdrshutdown-gate.sh'\'' '\''--plugin=remote --input=/dev/input/event5 --input=/dev/input/event6 '\'' '\''--plugin=reelchannelscan '\'' '\''--plugin=femon '\'' '\''--plugin=tvonscreen '\''' | |
++ shift | |
++ '[' -n '' ']' | |
++ echo tvonscreen | |
++ return 0 | |
+ ret=0 | |
+ '[' 0 '!=' 0 ']' | |
+ for addon in '${vdr_rc_dir}/${addon_prefix}-*.sh' | |
+ load_addon /usr/share/vdr/rcscript/pre-start-98-wait-conditions.sh addon_main | |
+ local addon=/usr/share/vdr/rcscript/pre-start-98-wait-conditions.sh func=addon_main | |
+ local fname=/usr/share/vdr/rcscript//usr/share/vdr/rcscript/pre-start-98-wait-conditions.sh.sh | |
+ '[' -f /usr/share/vdr/rcscript//usr/share/vdr/rcscript/pre-start-98-wait-conditions.sh.sh ']' | |
+ fname=/usr/share/vdr/rcscript/pre-start-98-wait-conditions.sh | |
+ '[' -f /usr/share/vdr/rcscript/pre-start-98-wait-conditions.sh ']' | |
+ eval 'addon_main() { :; }' | |
+ sh -n /usr/share/vdr/rcscript/pre-start-98-wait-conditions.sh | |
+ . /usr/share/vdr/rcscript/pre-start-98-wait-conditions.sh | |
+ eval addon_main | |
++ addon_main | |
++ local exitcode=0 | |
++ '[' '' ']' | |
++ return 0 | |
+ ret=0 | |
+ '[' 0 '!=' 0 ']' | |
+ return 0 | |
+ ebegin 'Starting vdr' | |
+ local _r | |
+ /lib/rc/bin/ebegin 'Starting vdr' | |
* Starting vdr ...+ _r=0 | |
+ export EINFO_LASTCMD=ebegin | |
+ EINFO_LASTCMD=ebegin | |
+ return 0 | |
+ unset MAIL | |
+ export LOGNAME=vdr USER=vdr HOME=/var/vdr | |
+ LOGNAME=vdr | |
+ USER=vdr | |
+ HOME=/var/vdr | |
+ local _openvt= openvt_opts= TERM_DEV=/dev/tty | |
+ '[' -n '' -a -e /dev/tty ']' | |
+ add_param --daemon | |
+ '[' -n --daemon ']' | |
+ vdr_opts=' '\''-u'\'' '\''vdr'\'' '\''--watchdog=60'\'' '\''--log=3'\'' '\''--video=/mnt/video/video.00'\'' '\''--record=/usr/share/vdr/bin/vdrrecord-gate.sh'\'' '\''--shutdown=/usr/share/vdr/bin/vdrshutdown-gate.sh'\'' '\''--plugin=remote --input=/dev/input/event5 --input=/dev/input/event6 '\'' '\''--plugin=reelchannelscan '\'' '\''--plugin=femon '\'' '\''--plugin=tvonscreen '\'' '\''--daemon'\''' | |
+ shift | |
+ '[' -n '' ']' | |
+ debug_msg ' CMDLINE: start-stop-daemon '\''--start'\'' '\''--chdir'\'' '\''/var/vdr'\'' '\''--exec'\'' '\''/usr/bin/vdr'\'' -- '\''-u'\'' '\''vdr'\'' '\''--watchdog=60'\'' '\''--log=3'\'' '\''--video=/mnt/video/video.00'\'' '\''--record=/usr/share/vdr/bin/vdrrecord-gate.sh'\'' '\''--shutdown=/usr/share/vdr/bin/vdrshutdown-gate.sh'\'' '\''--plugin=remote --input=/dev/input/event5 --input=/dev/input/event6 '\'' '\''--plugin=reelchannelscan '\'' '\''--plugin=femon '\'' '\''--plugin=tvonscreen '\'' '\''--daemon'\''' | |
+ has_debuglevel 1 | |
+ '[' 2 -ge 1 ']' | |
+ einfo ' CMDLINE: start-stop-daemon '\''--start'\'' '\''--chdir'\'' '\''/var/vdr'\'' '\''--exec'\'' '\''/usr/bin/vdr'\'' -- '\''-u'\'' '\''vdr'\'' '\''--watchdog=60'\'' '\''--log=3'\'' '\''--video=/mnt/video/video.00'\'' '\''--record=/usr/share/vdr/bin/vdrrecord-gate.sh'\'' '\''--shutdown=/usr/share/vdr/bin/vdrshutdown-gate.sh'\'' '\''--plugin=remote --input=/dev/input/event5 --input=/dev/input/event6 '\'' '\''--plugin=reelchannelscan '\'' '\''--plugin=femon '\'' '\''--plugin=tvonscreen '\'' '\''--daemon'\''' | |
+ local _r | |
+ /lib/rc/bin/einfo ' CMDLINE: start-stop-daemon '\''--start'\'' '\''--chdir'\'' '\''/var/vdr'\'' '\''--exec'\'' '\''/usr/bin/vdr'\'' -- '\''-u'\'' '\''vdr'\'' '\''--watchdog=60'\'' '\''--log=3'\'' '\''--video=/mnt/video/video.00'\'' '\''--record=/usr/share/vdr/bin/vdrrecord-gate.sh'\'' '\''--shutdown=/usr/share/vdr/bin/vdrshutdown-gate.sh'\'' '\''--plugin=remote --input=/dev/input/event5 --input=/dev/input/event6 '\'' '\''--plugin=reelchannelscan '\'' '\''--plugin=femon '\'' '\''--plugin=tvonscreen '\'' '\''--daemon'\''' | |
* CMDLINE: start-stop-daemon '--start' '--chdir' '/var/vdr' '--exec' '/usr/bin/vdr' -- '-u' 'vdr' '--watchdog=60' '--log=3' '--video=/mnt/video/video.00' '--record=/usr/share/vdr/bin/vdrrecord-gate.sh' '--shutdown=/usr/share/vdr/bin/vdrshutdown-gate.sh' '--plugin=remote --input=/dev/input/event5 --input=/dev/input/event6 ' '--plugin=reelchannelscan ' '--plugin=femon ' '--plugin=tvonscreen ' '--daemon' | |
+ _r=0 | |
+ export EINFO_LASTCMD=einfo | |
+ EINFO_LASTCMD=einfo | |
+ return 0 | |
+ eval start-stop-daemon ''\''--start'\''' ''\''--chdir'\''' ''\''/var/vdr'\''' ''\''--exec'\''' ''\''/usr/bin/vdr'\''' -- ''\''-u'\''' ''\''vdr'\''' ''\''--watchdog=60'\''' ''\''--log=3'\''' ''\''--video=/mnt/video/video.00'\''' ''\''--record=/usr/share/vdr/bin/vdrrecord-gate.sh'\''' ''\''--shutdown=/usr/share/vdr/bin/vdrshutdown-gate.sh'\''' ''\''--plugin=remote' --input=/dev/input/event5 --input=/dev/input/event6 ''\''' ''\''--plugin=reelchannelscan' ''\''' ''\''--plugin=femon' ''\''' ''\''--plugin=tvonscreen' ''\''' ''\''--daemon'\''' | |
++ start-stop-daemon --start --chdir /var/vdr --exec /usr/bin/vdr -- -u vdr --watchdog=60 --log=3 --video=/mnt/video/video.00 --record=/usr/share/vdr/bin/vdrrecord-gate.sh --shutdown=/usr/share/vdr/bin/vdrshutdown-gate.sh '--plugin=remote --input=/dev/input/event5 --input=/dev/input/event6 ' '--plugin=reelchannelscan ' '--plugin=femon ' '--plugin=tvonscreen ' --daemon | |
+ vdr_exitcode=0 | |
+ eend 0 'Failed to start vdr.' | |
+ local _r | |
+ /lib/rc/bin/eend 0 'Failed to start vdr.' | |
[ ok ] | |
+ _r=0 | |
+ export EINFO_LASTCMD=eend | |
+ EINFO_LASTCMD=eend | |
+ return 0 | |
+ '[' 0 -lt 128 ']' | |
+ load_addons_prefixed post-start | |
+ local addon_prefix=post-start call_func=addon_main basename= ret=0 | |
+ for addon in '${vdr_rc_dir}/${addon_prefix}-*.sh' | |
+ load_addon /usr/share/vdr/rcscript/post-start-05-plugins.sh addon_main | |
+ local addon=/usr/share/vdr/rcscript/post-start-05-plugins.sh func=addon_main | |
+ local fname=/usr/share/vdr/rcscript//usr/share/vdr/rcscript/post-start-05-plugins.sh.sh | |
+ '[' -f /usr/share/vdr/rcscript//usr/share/vdr/rcscript/post-start-05-plugins.sh.sh ']' | |
+ fname=/usr/share/vdr/rcscript/post-start-05-plugins.sh | |
+ '[' -f /usr/share/vdr/rcscript/post-start-05-plugins.sh ']' | |
+ eval 'addon_main() { :; }' | |
+ sh -n /usr/share/vdr/rcscript/post-start-05-plugins.sh | |
+ . /usr/share/vdr/rcscript/post-start-05-plugins.sh | |
+ eval addon_main | |
++ addon_main | |
++ loop_all_plugins plugin_post_vdr_start | |
++ local PLUGIN func=plugin_post_vdr_start prepare_cmdline=0 | |
++ case "$func" in | |
++ for PLUGIN in '${PLUGINS}' | |
++ run_plugin_addon remote plugin_post_vdr_start | |
++ local PLUGIN=remote | |
++ local call_func=plugin_post_vdr_start | |
++ unset _EXTRAOPTS | |
++ '[' -f /etc/conf.d/vdr.remote ']' | |
++ . /etc/conf.d/vdr.remote | |
++ load_addon plugin-remote plugin_post_vdr_start | |
++ local addon=plugin-remote func=plugin_post_vdr_start | |
++ local fname=/usr/share/vdr/rcscript/plugin-remote.sh | |
++ '[' -f /usr/share/vdr/rcscript/plugin-remote.sh ']' | |
++ '[' -f /usr/share/vdr/rcscript/plugin-remote.sh ']' | |
++ eval 'plugin_post_vdr_start() { :; }' | |
++ sh -n /usr/share/vdr/rcscript/plugin-remote.sh | |
++ . /usr/share/vdr/rcscript/plugin-remote.sh | |
++ eval plugin_post_vdr_start | |
+++ plugin_post_vdr_start | |
+++ : | |
++ for PLUGIN in '${PLUGINS}' | |
++ run_plugin_addon reelchannelscan plugin_post_vdr_start | |
++ local PLUGIN=reelchannelscan | |
++ local call_func=plugin_post_vdr_start | |
++ unset _EXTRAOPTS | |
++ '[' -f /etc/conf.d/vdr.reelchannelscan ']' | |
++ load_addon plugin-reelchannelscan plugin_post_vdr_start | |
++ local addon=plugin-reelchannelscan func=plugin_post_vdr_start | |
++ local fname=/usr/share/vdr/rcscript/plugin-reelchannelscan.sh | |
++ '[' -f /usr/share/vdr/rcscript/plugin-reelchannelscan.sh ']' | |
++ fname=plugin-reelchannelscan | |
++ '[' -f plugin-reelchannelscan ']' | |
++ return 0 | |
++ for PLUGIN in '${PLUGINS}' | |
++ run_plugin_addon femon plugin_post_vdr_start | |
++ local PLUGIN=femon | |
++ local call_func=plugin_post_vdr_start | |
++ unset _EXTRAOPTS | |
++ '[' -f /etc/conf.d/vdr.femon ']' | |
++ load_addon plugin-femon plugin_post_vdr_start | |
++ local addon=plugin-femon func=plugin_post_vdr_start | |
++ local fname=/usr/share/vdr/rcscript/plugin-femon.sh | |
++ '[' -f /usr/share/vdr/rcscript/plugin-femon.sh ']' | |
++ fname=plugin-femon | |
++ '[' -f plugin-femon ']' | |
++ return 0 | |
++ for PLUGIN in '${PLUGINS}' | |
++ run_plugin_addon tvonscreen plugin_post_vdr_start | |
++ local PLUGIN=tvonscreen | |
++ local call_func=plugin_post_vdr_start | |
++ unset _EXTRAOPTS | |
++ '[' -f /etc/conf.d/vdr.tvonscreen ']' | |
++ load_addon plugin-tvonscreen plugin_post_vdr_start | |
++ local addon=plugin-tvonscreen func=plugin_post_vdr_start | |
++ local fname=/usr/share/vdr/rcscript/plugin-tvonscreen.sh | |
++ '[' -f /usr/share/vdr/rcscript/plugin-tvonscreen.sh ']' | |
++ fname=plugin-tvonscreen | |
++ '[' -f plugin-tvonscreen ']' | |
++ return 0 | |
++ return 0 | |
+ ret=0 | |
+ '[' 0 '!=' 0 ']' | |
+ for addon in '${vdr_rc_dir}/${addon_prefix}-*.sh' | |
+ load_addon /usr/share/vdr/rcscript/post-start-50-svdrp.sh addon_main | |
+ local addon=/usr/share/vdr/rcscript/post-start-50-svdrp.sh func=addon_main | |
+ local fname=/usr/share/vdr/rcscript//usr/share/vdr/rcscript/post-start-50-svdrp.sh.sh | |
+ '[' -f /usr/share/vdr/rcscript//usr/share/vdr/rcscript/post-start-50-svdrp.sh.sh ']' | |
+ fname=/usr/share/vdr/rcscript/post-start-50-svdrp.sh | |
+ '[' -f /usr/share/vdr/rcscript/post-start-50-svdrp.sh ']' | |
+ eval 'addon_main() { :; }' | |
+ sh -n /usr/share/vdr/rcscript/post-start-50-svdrp.sh | |
+ . /usr/share/vdr/rcscript/post-start-50-svdrp.sh | |
++ include rc-functions | |
++ local name=rc-functions | |
+++ tr - _ | |
+++ echo rc-functions | |
++ local vname=loaded_rc_functions | |
++ local check | |
++ eval 'check=$loaded_rc_functions' | |
+++ check=1 | |
++ '[' 1 = 1 ']' | |
++ return | |
++ include svdrpcmd | |
++ local name=svdrpcmd | |
+++ tr - _ | |
+++ echo svdrpcmd | |
++ local vname=loaded_svdrpcmd | |
++ local check | |
++ eval 'check=$loaded_svdrpcmd' | |
+++ check=1 | |
++ '[' 1 = 1 ']' | |
++ return | |
++ svdrp_command | |
++ '[' -e /usr/bin/svdrpsend.pl ']' | |
++ SVDRPCMD=/usr/bin/svdrpsend.pl | |
+ eval addon_main | |
++ addon_main | |
++ '[' '' = 1 ']' | |
++ '[' 10600 -ge 10715 ']' | |
++ SVDRP_PORT=2001 | |
++ SVDRP_HOSTNAME=localhost | |
++ '[' 2001 = 0 ']' | |
++ '[' '!' -e /etc/vdr/remote.conf ']' | |
++ ebegin ' Waiting for working vdr' | |
++ local _r | |
++ /lib/rc/bin/ebegin ' Waiting for working vdr' | |
* Waiting for working vdr ...++ _r=0 | |
++ export EINFO_LASTCMD=ebegin | |
++ EINFO_LASTCMD=ebegin | |
++ return 0 | |
++ START_SVDRP_WAIT_SECONDS=40 | |
++ waitfor 40 svdrp_ready | |
++ local waittime=40 cond=svdrp_ready waited=0 status=1 | |
++ eval svdrp_ready | |
+++ svdrp_ready | |
+++ grep -q '^220' | |
+++ /usr/bin/svdrpsend.pl -d localhost -p 2001 quit | |
+++ test_vdr_process | |
+++ pidof /usr/bin/vdr | |
+++ return 2 | |
++ status=2 | |
++ '[' 2 = 1 -a 0 -lt 40 ']' | |
++ debug_msg 'waited 0 seconds on svdrp_ready' | |
++ has_debuglevel 1 | |
++ '[' 2 -ge 1 ']' | |
++ einfo 'waited 0 seconds on svdrp_ready' | |
++ local _r | |
++ /lib/rc/bin/einfo 'waited 0 seconds on svdrp_ready' | |
* waited 0 seconds on svdrp_ready | |
++ _r=0 | |
++ export EINFO_LASTCMD=einfo | |
++ EINFO_LASTCMD=einfo | |
++ return 0 | |
++ return 2 | |
++ case "$?" in | |
++ eend 2 'VDR process died, please check logfile' | |
++ local _r | |
++ /lib/rc/bin/eend 2 'VDR process died, please check logfile' | |
* VDR process died, please check logfile | |
[ !! ] | |
++ _r=2 | |
++ export EINFO_LASTCMD=eend | |
++ EINFO_LASTCMD=eend | |
++ return 2 | |
++ vdr_exitcode=1 | |
++ return 0 | |
+ ret=0 | |
+ '[' 0 '!=' 0 ']' | |
+ for addon in '${vdr_rc_dir}/${addon_prefix}-*.sh' | |
+ load_addon /usr/share/vdr/rcscript/post-start-60-check-syslog-errors.sh addon_main | |
+ local addon=/usr/share/vdr/rcscript/post-start-60-check-syslog-errors.sh func=addon_main | |
+ local fname=/usr/share/vdr/rcscript//usr/share/vdr/rcscript/post-start-60-check-syslog-errors.sh.sh | |
+ '[' -f /usr/share/vdr/rcscript//usr/share/vdr/rcscript/post-start-60-check-syslog-errors.sh.sh ']' | |
+ fname=/usr/share/vdr/rcscript/post-start-60-check-syslog-errors.sh | |
+ '[' -f /usr/share/vdr/rcscript/post-start-60-check-syslog-errors.sh ']' | |
+ eval 'addon_main() { :; }' | |
+ sh -n /usr/share/vdr/rcscript/post-start-60-check-syslog-errors.sh | |
+ . /usr/share/vdr/rcscript/post-start-60-check-syslog-errors.sh | |
+ eval addon_main | |
++ addon_main | |
++ '[' '!' -e '' ']' | |
++ return 0 | |
+ ret=0 | |
+ '[' 0 '!=' 0 ']' | |
+ return 0 | |
+ '[' 1 '!=' 0 ']' | |
+ kill_vdr | |
+ killall /usr/bin/vdr | |
/usr/bin/vdr: Kein Prozess gefunden | |
+ test_vdr_process | |
+ pidof /usr/bin/vdr | |
+ '[' 1 = 0 -a -s /var/vdr/tmp/vdr-start-log ']' | |
+ return 1 | |
+ return 1 | |
+ exit 1 | |
* ERROR: vdr failed to start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment