X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=etc%2Fnodist%2Fnfs-client;fp=etc%2Fnodist%2Fnfs-client;h=0000000000000000000000000000000000000000;hp=d1a002936a10656cb38d2ffb6fcc8c8f4fd47c14;hb=789a1cbad9a42c095f9de537bdfa02fb17ee8926;hpb=2f4ca78f367a20096073f99d4ad244ea6caed55a diff --git a/etc/nodist/nfs-client b/etc/nodist/nfs-client deleted file mode 100755 index d1a0029..0000000 --- a/etc/nodist/nfs-client +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh -# nfs This shell script starts and stops the nfs services in a distribution -# independent fashion. -# -# description: starts and stops nfs client services -# chkconfig: 2345 60 86 -# -# Copyright (c) 2000-2001 Mission Critical Linux, Inc. -# - -PATH=/sbin:/bin:/usr/sbin:/usr/bin -export PATH - -# Who am I? -SCRIPT_NAME=`basename $0` - -# Grab our daemon functions. -. `dirname $0`/nfs-functions - -# Kernel daemons and options -PREFIX="rpc." # Prefix for kernel execs (usually "rpc.") -LOCKD="lockd" # Lockd - -# User daemons and options -STATD="rpc.statd" # NLM Server - -# We use "type -path" instead of "which" since it's internal to bash. -[ -x "`type -path $STATD`" ] || exit 0 -[ -x "`type -path $PREFIX$LOCKD`" ] || exit 0 - -# Handle how we were called. -case "$1" in -start) - # Start rpc.statd daemon without options... - echo -n "Starting $STATD: " - startdaemon $STATD - - echo -n "Starting $LOCKD: " - startdaemon $PREFIX$LOCKD - - # if this lock file doesn't exist, init won't even try to run - # the shutdown script for this service on RedHat systems! - # on non-RedHat systems, /var/lock/subsys may not exist. - touch /var/lock/subsys/$SCRIPT_NAME &> /dev/null - ;; - -stop) - echo -n "Stopping $STATD: " - stopdaemon $STATD - - echo -n "Stopping $LOCKD: " - stopdaemon $LOCKD - - rm -f /var/lock/subsys/$SCRIPT_NAME - ;; - -restart) - $0 stop - $0 start - ;; - -status) - daemonstatus $STATD - daemonstatus $LOCKD - - exit 0 - ;; - -*) - echo "Usage: $0 {start|stop|status|restart}" - exit 1 -esac - -exit 0