]>
git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - src/initscripts/init.d/lcdproc
2 ########################################################################
3 # Begin $rc_base/init.d/lcdproc
13 ########################################################################
20 CONFIG_FILE
="/etc/sysconfig/lcdproc"
22 # Read the configuration file if any.
23 [ -e "${CONFIG_FILE}" ] && .
${CONFIG_FILE}
27 boot_mesg
"Starting LCDd..."
28 loadproc
/usr
/sbin
/LCDd
-c /etc
/lcdproc
/LCDd.conf
2>/dev
/null
32 boot_mesg
"Starting lcdproc..."
33 loadproc
/usr
/bin
/lcdproc
-c /etc
/lcdproc
/lcdproc.conf
2>/dev
/null
36 boot_mesg
"Starting LCD virtual console..."
37 loadproc
/usr
/bin
/lcdvc
-c /etc
/lcdproc
/lcdvc.conf
2>/dev
/null
43 boot_mesg
"Stopping LCDd..."
44 killproc
/usr
/sbin
/LCDd
46 boot_mesg
"Stopping lcdproc..."
47 killproc
/usr
/bin
/lcdproc
49 boot_mesg
"Stopping LCD virtual console..."
50 killproc
/usr
/bin
/lcdvc
60 statusproc
/usr
/sbin
/LCDd
61 statusproc
/usr
/bin
/lcdproc
62 statusproc
/usr
/bin
/lcdvc
66 echo "Usage: ${0} {start|stop|restart|status}"
71 # End $rc_base/init.d/lcdproc