Jump Start

From ReelBox Maniacs

Jump to: navigation, search


FixMe have someone double check this

[edit] Remove Plugins you don't need

Did you ever wonder about a thingy named rotor plugin in your setup although you don't own a helicopter? Or what sort of fuel your ReelBox would needs to burn? No? Read on anyway.

If you ever felt your ReelBox starting up too slow, you might want to disable some VDR plugins, which you rarely use or even don't ever use.

For me this is true for rotor plugin, formathd, streamdevclient, games, prefermenu, director at minimum. So i had a look at the startup file for the VDR and found this:

File: /etc/init.d/reelvdr (part of)
        vdr \
        --config=$CONFIG \
        --shutdown=/usr/bin/mvdrshutdown \
        --video=$VIDEODIR \
        $TUNERDEV \
        -kchannels/${CHANNELLIST}.conf \
        -L /usr/share/vdr/PLUGINS/lib \
        -E /tmp/epg.data \
        -r $CONFIG/reccommand.sh \
        -w 60 -l 3 \
        $TIMER_WAKEUP \
        -P 'graphlcd -c /etc/graphlcd.conf -d st7565r' \
        -P "reelbox -bsp-started" \
        -Pchannelscan \
        -Protor \
        -Pfemon \
        -Psetup \
        -P"dvd -C $DVDDEV" \
        -P"cdda -d $DVDDEV" \
        -Pmp3 \
        -Pformathd \
        -Ptimeline \
        -Pstreamdev-client \
        -Pstreamdev-server \
        -Pepgsearch \
        -Ptvonscreen \
        -Pgames \
        -Pprefermenu \
        -Pdirector \
        -P "osdteletext -d /tmp/vtx" \
        -P "vcd -v $DVDDEV" \
        -P "sleeptimer -e /sbin/sleeptimer.sh" \
        -P "vdrcd -m /sbin/mount.sh -c $DVDDIR" \
        -P "burn -d $VIDEODIR -D $DVDDEV" \
        -Preelcam \
        -Pbitstreamout \
        -Ptext2skin \
        -Pundelete

I made a copy of the original file:

Code: create backup copy of /etc/init.d/reelvdr

cd /etc/init.d
cp -p reelvdr{,.bkp}

Then i deleted some lines in reelvdr. The remaining lines from above are:

File: /etc/init.d/reelvdr (tuned version, part of)
        vdr \
        --config=$CONFIG \
        --shutdown=/usr/bin/mvdrshutdown \
        --video=$VIDEODIR \
        $TUNERDEV \
        -kchannels/${CHANNELLIST}.conf \
        -L /usr/share/vdr/PLUGINS/lib \
        -E /tmp/epg.data \
        -r $CONFIG/reccommand.sh \
        -w 60 -l 3 \
        $TIMER_WAKEUP \
        -P 'graphlcd -c /etc/graphlcd.conf -d st7565r' \
        -P "reelbox -bsp-started" \
        -Pchannelscan \
        -Pfemon \
        -Psetup \
        -P"dvd -C $DVDDEV" \
        -P"cdda -d $DVDDEV" \
        -Pmp3 \
        -Ptimeline \
        -Pstreamdev-server \
        -Pepgsearch \
        -Ptvonscreen \
        -Pdirector \
        -P "osdteletext -d /tmp/vtx" \
        -P "vcd -v $DVDDEV" \
        -P "sleeptimer -e /sbin/sleeptimer.sh" \
        -P "vdrcd -m /sbin/mount.sh -c $DVDDIR" \
        -P "burn -d $VIDEODIR -D $DVDDEV" \
        -Preelcam \
        -Pbitstreamout \
        -Ptext2skin \
        -Pundelete

Some editing has also to be done on /etc/video/plugins/setup/minivdr-setup.xml. Create a backup copy and change the file so it looks like shown below.

Code: create backup copy of /etc/video/plugins/setup/minivdr-setup.xml

cd /etc/video/plugins/setup cp -p minivdr-setup.xml{,.bkp}

File: changed /etc/video/plugins/setup/minivdr-setup.xml
<setup sysconfigFile="/etc/sysconfig"
         bootLinux="/sbin/reboot"
         bootVDR="mvdrshutdown"
         VDRlibDir="/opt/lib/vdr" >

<plugins sysconfig="PLUGINLIST">
        <plugin name="tvonscreen" info="tvonscreen" active="no" />
</plugins>

<menus>

<menu name="Installation">
        <entry name="Tuners in use" sysconfig="TUNER2" type="selection" value="1">
                <value>1</value> <value>2</value> <value>3</value> <value>4</value>
        </entry>
        <entry name="Select Channellist" sysconfig="CHANNELLIST" type="selection"
                setup="channellist" value="astra+hotbird" />
        <menu name="LNB / DiSEqC" system="LNB" />
        <menu plugin="femon" />
        <menu plugin="channelscan" />
</menu>

<menu name="Network" command="/etc/init.d/network">
        <entry name="Hostname" sysconfig="HOSTNAME" type="text" value="ReelVDR" />
        <entry name="Domain" sysconfig="DOMAIN" type="text" value="local" />
        <entry name="Gateway" sysconfig="GATEWAY" type="ip" value="192.168.0.254" />
        <entry name="Nameserver" sysconfig="NAMESERVER" type="ip" value="" />

        <menu name="Ethernet (internal)" command="/etc/init.d/network">
                <entry name="Use internal interface" sysconfig="NETWORKING" type="bool" value="yes" />
                <entry name="Use DHCP" sysconfig="USE_DHCP" type="bool" value="yes" />
                <entry name="IP Address" sysconfig="IP" type="ip" value="192.168.0.175" />
                <entry name="Network mask" sysconfig="NETMASK" type="ip" value="255.255.255.0" />
        </menu>

        <menu name="Wireless Lan" command="/etc/init.d/network">
                <entry name="Use WLAN" sysconfig="WLAN" type="bool" value="yes" />
                <entry name="IP Address" sysconfig="WLAN_IP" type="ip" value="192.168.1.200" />
                <entry name="Network mask" sysconfig="WLAN_NETMASK" type="ip" value="255.255.255.0" />
                <entry name="Use DHCP" sysconfig="WLAN_DHCP" type="bool" value="no" />
                <entry name="(E)SSID" sysconfig="WLAN_SSID" type="text" value="ar0815" />
                <entry name="Mode" sysconfig="WLAN_MODE" type="selection" value="ad-hoc">
                        <value>ad-hoc</value> <value>managed</value>
                </entry>
                <entry name="Security" sysconfig="WLAN_SEC" type="selection" value="open">
                        <value>open</value> <value>restricted</value>
                </entry>
                <entry name="Channel" sysconfig="WLAN_CHANNEL" type="selection" value="6">
                        <value>1</value> <value>2</value> <value>3</value> <value>4</value>
                        <value>5</value> <value>6</value> <value>7</value> <value>8</value>
                        <value>9</value> <value>10</value> <value>11</value> <value>12</value>
                        <value>13</value> <value>14</value>
                </entry>
                <entry name="Use WEP Key #" sysconfig="WLAN_WEP_KEY" type="selection" value="0">
                        <value>none</value> <value>1</value> <value>2</value> <value>3</value> <value>4</value>
                </entry>
                <entry name="WEP Key 1" sysconfig="WLAN_WEP_KEY_1" type="hex" value="E8:B5:5E:65:B9" />
                <entry name="WEP Key 2" sysconfig="WLAN_WEP_KEY_2" type="hex" value="35:45:BC:D0:D9" />
                <entry name="WEP Key 3" sysconfig="WLAN_WEP_KEY_3" type="hex" value="E1:90:9A:E7:B0" />
                <entry name="WEP Key 4" sysconfig="WLAN_WEP_KEY_4" type="hex" value="7A:1E:E0:80:1E" />
        </menu>

        <menu name="Windows Network Client" command="/etc/init.d/smb_client">
                <entry name="Use Windows Client" sysconfig="START_SMBCL" type="bool" value="no" />
                <entry name="Windows Server" sysconfig="SAMBA_PC" type="ip" value="wserver" />
                <entry name="Sharename" sysconfig="SAMBA_SHARECL" type="text" value="reelbox" />
                <entry name="Username" sysconfig="CLUSER" type="text" value="Username" />
                <entry name="Password" sysconfig="SMB_PASSWORD" type="text" value="Password" />
        </menu>

        <menu name="NFS Client" command="/etc/init.d/nfs_client">
                <entry name="Use NFS Client" sysconfig="START_NFSCL" type="bool" value="no" />
                <entry name="Host/IP" sysconfig="NFS_PC" type="ip" value="192.168.0.245" />
                <entry name="Sharename" sysconfig="NFS_SHARECL" type="text" value="/home/reelbox" />
                <menu name="Expert Settings">
                        <entry name="NFS Version" sysconfig="NFS_VERS" type="selection" value="3">
                                <value>2</value>        <value>3</value>
                        </entry>
                        <entry name="Allow writing" sysconfig="NFS_OPT_RW" type="bool" value="yes" />
                        <entry name="mount hard/soft" sysconfig="NFS_OPT_HS" type="selection" value="soft">
                                <value>soft</value>     <value>hard</value>
                        </entry>
                        <entry name="Use locking" sysconfig="NFS_OPT_LOCK" type="bool" value="yes" />
                        <entry name="Buffersize" sysconfig="NFS_BSIZE" type="selection" value="8192">
                                <value>2048</value>     <value>4096</value>     <value>8192</value>
                        </entry>
                </menu>
        </menu>
</menu>

<menu name="Audio / Video">
                <entry name="Video Mode" sysconfig="VIDMODE" type="selection" value="RGB"
                        command="/etc/init.d/reelvidmode">
                        <value>RGB</value>
                        <value>CVBS</value>
                        <value>YUV</value>
                        <value>YC</value>
                        <value>VGA</value>
                </entry>
                <entry name="Video Resolution" sysconfig="RES" type="selection" value="720x576">
                        <value>640x480</value>
                        <value>720x576</value>
                        <value>800x600</value>
                        <value>1024x768</value>
                        <value>1280x1024</value>
                </entry>
                <menu name="Misc" system="DVB" />
</menu>

<menu name="CI/CAMs" system="CICAM" />

<menu name="Hardware">
        <entry name="Use Firewire" sysconfig="START_FW" type="bool" value="no"
                command="/etc/init.d/ext_devices setup" />
        <entry name="Use USB" sysconfig="START_USB" type="bool" value="no"
                command="/etc/init.d/ext_devices setup" />
        <entry name="Spin down Harddisk" sysconfig="HDTIMEOUT" type="number" value="0"
                command="/etc/init.d/hdstb"/>
        <entry name="Install optional soft to" sysconfig="OPTDIRLINK" type="selection" value="hd" command="/sbin/linkopt.sh">
                <value>ext1</value> <value>ext2</value> <value>hd</value> <value>net1</value> <value>net2</value> <value>ram</value>
        </entry>
</menu>

<menu name="Plugins" system="Plugins" />

<menu name="Languages / OSD" system="OSD" />

<menu name="Misc">
        <menu name="Inactivity">
                <entry name="Enable DeepStandby" sysconfig="DS_ENABLE" type="bool" value="no" />
                <entry name="Go to DeepStandby after (h)" sysconfig="DS_TIMEOUT" type="number" value="2" />
                <menu name="Misc" system="Misc" />
        </menu>
        <menu name="Edit Menu" system="VDRMenu" />
        <menu name="Activate Plugins" system="ActPlugins" />
        <menu name="Record" system="Record" />
        <menu name="Replay" system="Replay" />
        <menu name="EPG" system="EPG" />
        <menu name="Frontpanel LEDs" command="/etc/init.d/fpleds">
                <entry name="Control LEDs Color" sysconfig="FPCOLOR" type="selection" value="blue">
                        <value>blue</value> <value>red</value> <value>pink</value>
                </entry>
                <entry name="Control LEDs brightness" sysconfig="FPCLEDBR" type="selection" value="1">
                        <value>off</value> <value>min</value> <value>low</value>
                        <value>med</value> <value>high</value> <value>max</value>
                </entry>
                <entry name="Status LEDs brightness" sysconfig="FPSLEDBR" type="selection" value="med">
                        <value>off</value> <value>min</value> <value>low</value>
                        <value>med</value> <value>high</value> <value>max</value>
                </entry>
                <entry name="LED brightness in standby" sysconfig="FPCLEDBRSTB" type="selection" value="med">
                        <value>off</value> <value>min</value> <value>low</value>
                        <value>med</value> <value>high</value> <value>max</value>
                </entry>
        </menu>
        <entry name="Timezone" sysconfig="ZONEINFO" type="selection" value="CET" command="/etc/init.d/timezone">
                <value>AET</value> <value>ANT</value> <value>AST</value> <value>AWT</value>
                <value>ACT</value> <value>CET</value> <value>EET</value> <value>EST</value>
                <value>GMT</value> <value>HST</value> <value>LHI</value> <value>MET</value>
                <value>MST</value> <value>NSW</value> <value>PRC</value> <value>ROK</value>
                <value>UCT</value> <value>WET</value>
        </entry>
        <entry name="Protect Setup (0000=off)" sysconfig="CHILDLOCK"
                type="numtext" setup="childlock" value="0000" />
</menu>

</menus>
</setup>

After having edited both files, restart your ReelBox.

The box is booting a bit faster now and system load is somewhat lower. So if there are more plugins you don't ever use: delete the related lines in /etc/init.d/reelvdr, fix /etc/video/plugins/setup/minivdr-setup.xml and give it a try. If you are in doubt of which ones are usful to you and which not be careful: some entries are mandantory. F.e if you remove the line -P "reelbox -bsp-started" \, vdr won't work any more.

Plugins you may remove:

  • rotor
  • channelscan
  • tvonscreen
  • osdteletext
  • prefermenu
  • timeline
  • undelete
  • burn

[edit] Don't start Services for Hardware you don't need

If you don't ever user external USB and / or FireWire equipment, set them to "no" in setup. Enabling these devices takes some time at boot.

Personal tools
In other languages