mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-24 18:03:06 +02:00
script to start vdr with softdevice
changes on vdr and w_scan scripts
This commit is contained in:
@@ -18,7 +18,11 @@
|
||||
case "${1}" in
|
||||
start)
|
||||
boot_mesg "Starting Video Disk Recorder..."
|
||||
cd /opt/vdr
|
||||
if [ "$(ps -A | grep runvdr)" != "" ]; then
|
||||
boot_mesg "Error! Alrady run!"
|
||||
echo_failure
|
||||
exit 1;
|
||||
fi
|
||||
loadproc screen -dmS vdr /opt/vdr/bin/runvdr
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user