4 # davfsd davfsd (WEB-DAV Linux File System)
8 # description: davfsd is a server part of the WEB-DAV Linux File System
12 # Source function library
13 . /etc/rc.d/init.d/functions
16 . /etc/sysconfig/network
19 [ -f /etc/sysconfig/davfsd ] && . /etc/sysconfig/davfsd
21 # Check that networking is up.
22 if is_no "${NETWORKING}"; then
23 msg_network_down davfsd
28 # See how we were called.
31 # Check if the service is already running?
32 if [ ! -f /var/lock/subsys/davfsd ]; then
34 daemon /usr/sbin/davfsd
36 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/davfsd
38 msg_already_running davfsd
42 if [ -f /var/lock/subsys/davfsd ]; then
45 rm -f /var/run/davfsd.pid /var/lock/subsys/davfsd >/dev/null 2>&1
47 msg_not_running davfsd
64 msg_usage "$0 {start|stop|init|status|restart|reload}"
71 rm -rf $RPM_BUILD_ROOT
73 %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
75 * %{date} PLD Team <feedback@pld.org.pl>
76 All persons listed below can be reached at <cvs_login>@pld.org.pl