]> git.pld-linux.org Git - packages/nfs-utils.git/commitdiff
- change subsys lock files to what mount.nfs wants
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 29 Mar 2007 23:07:47 +0000 (23:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpcgssd.init -> 1.2
    rpcidmapd.init -> 1.3
    rpcsvcgssd.init -> 1.2

rpcgssd.init
rpcidmapd.init
rpcsvcgssd.init

index a87ae1a5113e6cb08bc7ed5a41dae192ffa888a4..b0568f071d527e174d9dcc403b9e11c758227247 100644 (file)
@@ -45,7 +45,7 @@ RETVAL=0
 case "$1" in
   start)
        # Check if the service is already running?
-       if [ ! -f /var/lock/subsys/gssd ]; then
+       if [ ! -f /var/lock/subsys/rpcgssd ]; then
                if ! grep -q rpc_pipefs /proc/mounts ; then
                        modprobe -s sunrpc >/dev/null 2>&1
                        run_cmd "Mounting /var/lib/nfs/rpc_pipefs filesystem" \
@@ -58,16 +58,16 @@ case "$1" in
                msg_starting "RPC gssd"
                daemon rpc.gssd $RPCGSSOPTIONS
                RETVAL=$?
-               [ $RETVAL = 0 ] && touch /var/lock/subsys/gssd
+               [ $RETVAL = 0 ] && touch /var/lock/subsys/rpcgssd
        else
                msg_already_running "RPC gssd"
        fi
        ;;
   stop)
-       if [ -f /var/lock/subsys/gssd ]; then
+       if [ -f /var/lock/subsys/rpcgssd ]; then
                msg_stopping "RPC gssd"
                killproc rpc.gssd
-               rm -f /var/lock/subsys/gssd
+               rm -f /var/lock/subsys/rpcgssd
        else
                msg_not_running "RPC gssd"
        fi
index c117b3b3c886141661ab99c66d6ec30902674818..e356e3e3a36369e3c17c2370fec4b341491b1747 100644 (file)
@@ -41,7 +41,7 @@ RETVAL=0
 case "$1" in
   start)
        # Check if the service is already running?
-       if [ ! -f /var/lock/subsys/idmapd ]; then
+       if [ ! -f /var/lock/subsys/rpcidmapd ]; then
                if ! grep -q rpc_pipefs /proc/mounts ; then
                        modprobe -s sunrpc >/dev/null 2>&1
                        run_cmd "Mounting /var/lib/nfs/rpc_pipefs filesystem" \
@@ -51,16 +51,16 @@ case "$1" in
                msg_starting "RPC idmapd"
                daemon rpc.idmapd $RPCIDMAPOPTIONS
                RETVAL=$?
-               [ $RETVAL -eq 0 ] && touch /var/lock/subsys/idmapd
+               [ $RETVAL -eq 0 ] && touch /var/lock/subsys/rpcidmapd
        else
                msg_already_running "RPC idmapd"
        fi
        ;;
   stop)
-       if [ -f /var/lock/subsys/idmapd ]; then
+       if [ -f /var/lock/subsys/rpcidmapd ]; then
                msg_stopping "RPC idmapd"
                killproc rpc.idmapd
-               rm -f /var/lock/subsys/idmapd
+               rm -f /var/lock/subsys/rpcidmapd
        else
                msg_not_running "RPC idmapd"
        fi
index 0a6dff1921a10771bdbd0be775bbee5e1a1dab94..b1dea583b5764ce58d051f6315071a71df35aa67 100644 (file)
@@ -42,7 +42,7 @@ RETVAL=0
 case "$1" in
   start)
        # Check if the service is already running?
-       if [ ! -f /var/lock/subsys/svcgssd ]; then
+       if [ ! -f /var/lock/subsys/rpcsvcgssd ]; then
                if ! grep -q rpc_pipefs /proc/mounts ; then
                        modprobe -s sunrpc >/dev/null 2>&1
                        run_cmd "Mounting /var/lib/nfs/rpc_pipefs filesystem" \
@@ -55,16 +55,16 @@ case "$1" in
                msg_starting "RPC svcgssd"
                daemon rpc.svcgssd $RPCSVCGSSOPTIONS
                RETVAL=$?
-               [ $RETVAL = 0 ] && touch /var/lock/subsys/svcgssd
+               [ $RETVAL = 0 ] && touch /var/lock/subsys/rpcsvcgssd
        else
                msg_already_running "RPC svcgssd"
        fi
        ;;
   stop)
-       if [ -f /var/lock/subsys/svcgssd ]; then
+       if [ -f /var/lock/subsys/rpcsvcgssd ]; then
                msg_stopping "RPC svcgssd"
                killproc rpc.svcgssd
-               rm -f /var/lock/subsys/svcgssd
+               rm -f /var/lock/subsys/rpcsvcgssd
        else
                msg_not_running "RPC svcgssd"
        fi
This page took 0.118476 seconds and 4 git commands to generate.