diff options
| author | hjl <hjl> | 2002-04-07 21:19:22 +0000 |
|---|---|---|
| committer | hjl <hjl> | 2002-04-07 21:19:22 +0000 |
| commit | d939da8d0d3c455ee815f39b448281b497597cc0 (patch) | |
| tree | 5e159855f63f447c7f2e3261a1e724ae5ee31163 /etc | |
| parent | 37b49dbbdef252de4d7d45866fc3354b593431df (diff) | |
2002-04-07 H.J. Lu <hjl@lucon.org>
* etc/redhat/nfslock.init (restart): Just do stop and start.
* etc/redhat/nfs.init: Fix a typo.
Diffstat (limited to 'etc')
| -rwxr-xr-x | etc/redhat/nfs.init | 2 | ||||
| -rwxr-xr-x | etc/redhat/nfslock.init | 11 |
2 files changed, 3 insertions, 10 deletions
diff --git a/etc/redhat/nfs.init b/etc/redhat/nfs.init index 2f0d8dc..e844508 100755 --- a/etc/redhat/nfs.init +++ b/etc/redhat/nfs.init @@ -36,7 +36,7 @@ if [ -f "$NFSDCFG" ]; then . "$NFSDCFG" else # Set some defaults - TUNE_QUEUE ="no" + TUNE_QUEUE="no" # Default to NFS version 3. RPCMOUNTDOPTS="" fi diff --git a/etc/redhat/nfslock.init b/etc/redhat/nfslock.init index 48cea0f..2f99c45 100755 --- a/etc/redhat/nfslock.init +++ b/etc/redhat/nfslock.init @@ -69,15 +69,8 @@ case "$1" in status rpc.statd ;; restart) - echo -n "Restarting NFS file locking services: " - echo -n "rpc.lockd " - killproc lockd - daemon rpc.lockd - echo -n "rpc.statd " - killproc rpc.statd - daemon rpc.statd ${STATDARG} - touch /var/lock/subsys/nfslock - echo "done." + $0 stop + $0 start ;; probe) if [ ! -f /var/lock/subsys/nfslock ] ; then |
