]> git.pld-linux.org Git - packages/lsvpd.git/blame - vpdupdater.init
- updated to 1.6.10
[packages/lsvpd.git] / vpdupdater.init
CommitLineData
7a8d4c54
JB
1#!/bin/sh
2#
3# vpdupdater VPD Database updater
4#
5# chkconfig: 345 10 90
6#
7# description: VPD Database updater
8#
9# processname: vpdupdate
10#
11# $Id$
12
13# Source function library
14. /etc/rc.d/init.d/functions
15
16RUN_VPDUPDATE=yes
17
18# Get service config - may override defaults
19[ -f /etc/sysconfig/vpdupdater ] && . /etc/sysconfig/vpdupdater
20
21RETVAL=0
22# See how we were called.
23case "$1" in
24 start|restart|try-restart|force-reload)
25 if is_yes "$RUN_VPDUPDATE" ; then
26 /usr/sbin/vpdupdate
27 fi
28 ;;
29 stop)
30 ;;
31 *)
32 msg_usage "$0 {start|stop|restart|try-restart|force-reload}"
33 exit 3
34esac
35
36exit $RETVAL
This page took 0.061092 seconds and 4 git commands to generate.