mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
script to start vdr with softdevice
changes on vdr and w_scan scripts
This commit is contained in:
@@ -9,11 +9,18 @@
|
||||
# actual 'vdr' program.
|
||||
#
|
||||
|
||||
PLUGOPTS="-Pstreamdev-server"
|
||||
|
||||
VDRPRG="./bin/vdr"
|
||||
VDRCMD="$VDRPRG -w 60 -c /opt/vdr/etc -Pstreamdev-server $*"
|
||||
VDRCMD="$VDRPRG -w 60 -c /opt/vdr/etc $PLUGOPTS $*"
|
||||
|
||||
KILL="killall -q -TERM"
|
||||
|
||||
if [ "$(ps -A | grep " vdr")" != "" ]; then
|
||||
echo vdr is already running!
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mkdir -p /var/video
|
||||
cd /opt/vdr
|
||||
while (true) do
|
||||
|
||||
3
config/vdr/bin/runvdr-soft
Executable file
3
config/vdr/bin/runvdr-soft
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
clear
|
||||
runvdr -Psoftdevice > /dev/null 2>&1
|
||||
Reference in New Issue
Block a user