ALT Linux Bugzilla
– Attachment 781 Details for
Bug 6327
make quota support optional
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
nfs.init.diff
nfs.init.diff (text/plain), 1.40 KB, created by
Dmitry V. Levin
on 2005-03-25 18:46:53 MSK
(
hide
)
Description:
nfs.init.diff
Filename:
MIME Type:
Creator:
Dmitry V. Levin
Created:
2005-03-25 18:46:53 MSK
Size:
1.40 KB
patch
obsolete
>--- etc/rc.d/init.d/nfs.orig 2005-03-08 22:21:40 +0300 >+++ etc/rc.d/init.d/nfs 2005-03-23 02:20:45 +0300 >@@ -61,6 +61,13 @@ start_mountd() > start_daemon --no-announce -- $MOUNTD $MOUNTD_OPTIONS > } > >+start_rquotad() >+{ >+ [ -x "$RQUOTAD" ] || return 0 >+ msg_starting $"NFS quotas" >+ start_daemon --no-announce -- $RQUOTAD >+} >+ > start_svcgssd() > { > [ -d /sys/class ] || return 0 >@@ -96,6 +103,13 @@ stop_mountd() > stop_daemon --no-announce -- $MOUNTD > } > >+stop_rquotad() >+{ >+ [ -x "$RQUOTAD" ] || return 0 >+ msg_stopping $"NFS quotas" >+ stop_daemon --no-announce -- $RQUOTAD >+} >+ > stop_svcgssd() > { > [ -d /sys/class ] || return 0 >@@ -120,8 +134,7 @@ start() > action $"Exporting NFS file systems:" $EXPORTFS -r > > # rquotad >- msg_starting $"NFS quotas" >- start_daemon --no-announce -- $RQUOTAD >+ start_rquotad > RETVAL=$? > [ $RETVAL -eq 0 ] || return > >@@ -156,8 +169,7 @@ stop() > stop_svcgssd > > # rquotad >- msg_stopping $"NFS quotas" >- stop_daemon --no-announce -- $RQUOTAD >+ stop_rquotad > > # Do it the last so that clients can still access the server > # when the server is running. >@@ -184,7 +196,7 @@ reload() > statuses() > { > status $MOUNTD >- status $RQUOTAD >+ [ -x "$RQUOTAD" ] && status $RQUOTAD > status $SVCGSSD > # FIXME better way ? > start-stop-daemon -Ktq -n nfsd > /dev/null && echo nfsd is running || echo nfsd is stopped
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 6327
: 781