]>
git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/initscripts/init.d/vdr
2 ########################################################################
3 # Begin $rc_base/init.d/vdr
5 # Description : This is a script that starts vdr as deamon
7 # Authors : Arne Fitzenreiter (arne@ipfire.org)
13 ########################################################################
20 boot_mesg
"Starting Video Disk Recorder..."
21 if [ "$(ps -A | grep runvdr)" != "" ]; then
22 boot_mesg
"Error! Alrady run!"
26 loadproc screen
-dmS vdr
/opt
/vdr
/bin
/runvdr
30 boot_mesg
"Stopping Video Disk Recorder..."
31 killall
-s KILL
-w runvdr
32 killproc
/opt
/vdr
/bin
/vdr
42 statusproc
/opt
/vdr
/bin
/runvdr
43 statusproc
/opt
/vdr
/bin
/vdr
47 echo "Usage: ${0} {start|stop|restart|status}"
52 # End $rc_base/init.d/vdr