mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
The 'runvdr' script no longer uses the $VDRUSR environment variable
This commit is contained in:
parent
d5c739790b
commit
b6920cd2d8
3
HISTORY
3
HISTORY
@ -4300,3 +4300,6 @@ Video Disk Recorder Revision History
|
|||||||
- cDevice::Transferring() can now be used to determine whether the (primary)
|
- cDevice::Transferring() can now be used to determine whether the (primary)
|
||||||
device is currently playing in Transfer Mode (based on a suggestion by
|
device is currently playing in Transfer Mode (based on a suggestion by
|
||||||
Reinhard Nissl).
|
Reinhard Nissl).
|
||||||
|
- The 'runvdr' script no longer uses the $VDRUSR environment variable to set
|
||||||
|
the user id under which 'vdr' shall run. Just add the '-u username' option
|
||||||
|
when you call 'runvdr'.
|
||||||
|
3
INSTALL
3
INSTALL
@ -136,7 +136,8 @@ watchdog timer to restart the program in case something happens that
|
|||||||
causes a program hangup. If you change the command line options for the
|
causes a program hangup. If you change the command line options for the
|
||||||
call to the VDR program, be sure to NOT use the '-d' option! Otherwise
|
call to the VDR program, be sure to NOT use the '-d' option! Otherwise
|
||||||
VDR will go into 'deamon' mode and the initial program call will return
|
VDR will go into 'deamon' mode and the initial program call will return
|
||||||
immediately!
|
immediately! 'runvdr' needs to be started as user 'root'. Use the '-u'
|
||||||
|
option to run the actual 'vdr' program under a different user id.
|
||||||
|
|
||||||
Setting the system time:
|
Setting the system time:
|
||||||
------------------------
|
------------------------
|
||||||
|
11
runvdr
11
runvdr
@ -5,12 +5,9 @@
|
|||||||
# If VDR exits abnormally, the driver will be reloaded
|
# If VDR exits abnormally, the driver will be reloaded
|
||||||
# and VDR restarted.
|
# and VDR restarted.
|
||||||
#
|
#
|
||||||
# Set the environment variable VDRUSR to the user id you
|
|
||||||
# want VDR to run with. If VDRUSR is not set, VDR will run
|
|
||||||
# as user 'vdr'.
|
|
||||||
#
|
|
||||||
# Since this script loads the DVB driver, it must be started
|
# Since this script loads the DVB driver, it must be started
|
||||||
# as user 'root'.
|
# as user 'root'. Add the option "-u username" to run VDR
|
||||||
|
# under the given user name.
|
||||||
#
|
#
|
||||||
# Any command line parameters will be passed on to the
|
# Any command line parameters will be passed on to the
|
||||||
# actual 'vdr' program.
|
# actual 'vdr' program.
|
||||||
@ -18,11 +15,11 @@
|
|||||||
# See the main source file 'vdr.c' for copyright information and
|
# See the main source file 'vdr.c' for copyright information and
|
||||||
# how to reach the author.
|
# how to reach the author.
|
||||||
#
|
#
|
||||||
# $Id: runvdr 1.15 2005/12/31 13:30:11 kls Exp $
|
# $Id: runvdr 1.16 2006/02/04 15:20:48 kls Exp $
|
||||||
|
|
||||||
DVBDIR="../DVB/driver"
|
DVBDIR="../DVB/driver"
|
||||||
VDRPRG="./vdr"
|
VDRPRG="./vdr"
|
||||||
VDRCMD="$VDRPRG -u $VDRUSR -w 60 $*"
|
VDRCMD="$VDRPRG -w 60 $*"
|
||||||
|
|
||||||
LSMOD="`/sbin/lsmod | grep -w '^dvb' | wc -l`"
|
LSMOD="`/sbin/lsmod | grep -w '^dvb' | wc -l`"
|
||||||
KILL="/usr/bin/killall -q -TERM"
|
KILL="/usr/bin/killall -q -TERM"
|
||||||
|
Loading…
Reference in New Issue
Block a user