robbat2     15/02/02 17:45:45

  Added:                nfsmount.initd-1.3.1
  Log:
  Avoid breaking anybody with nfsmount in their runlevels; but they should 
really read the news item and update their systems; migration hand-holding 
script will be removed not sooner than August 1st; reviewed by radhermit, 
williamh, zero_chaos.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, RepoMan options: --force, unsigned 
Manifest commit)

Revision  Changes    Path
1.1                  net-fs/nfs-utils/files/nfsmount.initd-1.3.1

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/nfs-utils/files/nfsmount.initd-1.3.1?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/nfs-utils/files/nfsmount.initd-1.3.1?rev=1.1&content-type=text/plain

Index: nfsmount.initd-1.3.1
===================================================================
#!/sbin/runscript
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfsmount.initd-1.3.1,v 1.1 
2015/02/02 17:45:45 robbat2 Exp $

# This is mostly as a fix for bug #537996, to avoid breaking existing users
# with nfsmount in their runlevels.
# If neither nfsclient nor netmount are in your runlevels, and you manually
# start netmount before nfsclient, then this will break. A real solution is
# forthcoming, but requires feature development, see bug #406021 for soft
# dependencies
depend() {
  need nfsclient netmount
}

msg() {
  ewarn "nfsmount is deprecated, please migrate as described in the news item: 
2015-02-02-nfs-service-changes"
  ewarn "This migration script will be removed not sooner than 2015/August/01"
}

start() {
  msg 
}

stop() {
  msg
}




Reply via email to