]> git.pld-linux.org Git - packages/nfs-utils.git/commitdiff
- drop obsolete files
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 5 Jul 2009 16:05:37 +0000 (16:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rquotad.init -> 1.20
    rquotad.sysconfig -> 1.4

rquotad.init [deleted file]
rquotad.sysconfig [deleted file]

diff --git a/rquotad.init b/rquotad.init
deleted file mode 100644 (file)
index 1bfadb1..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-#
-# rquotad      This shell script takes care of starting and stopping
-#              the RPC rquotad service.
-#
-# chkconfig:   345 12 82
-# description: rquotad is an RPC server which returns quotas for \
-#              a user of a local filesystem which is mounted by \
-#              a remote machine over the NFS.  It also allows \
-#              setting  of quotas on NFS mounted filesystem
-# probe: true
-
-# Source function library.
-. /etc/rc.d/init.d/functions
-
-# Get network config
-. /etc/sysconfig/network
-
-# Get service config
-[ -f /etc/sysconfig/rquotad ] && . /etc/sysconfig/rquotad
-
-# Check that networking is up.
-if is_yes "${NETWORKING}"; then
-       if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
-               msg_network_down "RPC rquotad"
-               exit 1
-       fi
-else
-       exit 0
-fi
-
-if [ "$1" != "stop" ]; then
-       check_portmapper || { nls "Error: portmap isn't running" && exit 0; }
-fi
-
-start() {
-       # Check if the service is already running?
-       if [ ! -f /var/lock/subsys/rquotad ]; then
-               # RQUOTADOPTIONS will be removed in the future
-               OPTIONS="$RQUOTADOPTIONS"
-               [ -n "$RQUOTAD_PORT" ] && OPTIONS="$OPTIONS -p $RQUOTAD_PORT"
-               is_yes "$AUTOFS" && OPTIONS="$OPTIONS --autofs"
-               if is_yes "$REMOTE_QUOTA_SETTING"; then
-                   OPTIONS="$OPTIONS --setquota"
-               else
-                   OPTIONS="$OPTIONS --no-setquota"
-               fi
-               # Start daemons.
-               msg_starting "RPC rquotad"
-               daemon rpc.rquotad $OPTIONS
-               RETVAL=$?
-               [ $RETVAL -eq 0 ] && touch /var/lock/subsys/rquotad
-       else
-               msg_already_running "RPC rquotad"
-       fi
-}
-
-stop() {
-       if [ -f /var/lock/subsys/rquotad ]; then
-               # Stop daemons.
-               msg_stopping "RPC rquotad"
-               killproc rpc.rquotad
-               rm -f /var/lock/subsys/rquotad
-       else
-               msg_not_running "RPC rquotad"
-       fi
-}
-
-RETVAL=0
-# See how we were called.
-case "$1" in
-  start)
-       start
-       ;;
-  stop)
-       stop
-       ;;
-  status)
-       status rpc.rquotad
-       exit $?
-       ;;
-  restart|force-reload)
-       stop
-       start
-       ;;
-  probe)
-       if [ ! -f /var/lock/subsys/quotad ]; then
-               echo start; exit 0
-       fi
-       /sbin/pidof rpc.rquotad >/dev/null 2>&1
-       if [ $? = 1 ]; then
-               echo restart; exit 0
-       fi
-       ;;
-  *)
-       msg_usage "$0 {start|stop|restart|force-reload|probe|status}"
-       exit 3
-esac
-
-exit $RETVAL
diff --git a/rquotad.sysconfig b/rquotad.sysconfig
deleted file mode 100644 (file)
index bfca73a..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-# Define nice level for rpc.rquotad daemon
-SERVICE_RUN_NICE_LEVEL="+0"
-
-# Allow remote quota setting
-#REMOTE_QUOTA_SETTING="no"
-
-# Do not ignore autofs mountpoints
-#AUTOFS="yes"
-
-# Port rquotad should listen on (default is portmap assigned)
-#RQUOTAD_PORT=
This page took 0.132549 seconds and 4 git commands to generate.