]>
git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/initscripts/init.d/vdradmin
2 ########################################################################
3 # Begin $rc_base/init.d/vdradmind
5 # Description : This is a script that starts vdradmind as deamon
7 # Authors : Arne Fitzenreiter (arne@ipfire.org)
13 ########################################################################
20 boot_mesg
"Starting VDR Webadministration Tool..."
21 if [ "$(ps -A | grep vdradmind)" != "" ]; then
22 boot_mesg
"Error! Already running!"
26 loadproc
/opt
/vdradmin
/vdradmind.pl
30 boot_mesg
"Stopping VDR Webadministration Tool..."
31 killproc
/opt
/vdradmin
/vdradmind.pl
41 statusproc
/usr
/bin
/vdradmind
45 echo "Usage: ${0} {start|stop|restart|status}"
50 # End $rc_base/init.d/vdr