Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-fs/nfs-utils/files: nfsmount.initd-1.3.1
Date: Mon, 02 Feb 2015 17:45:49
Message-Id: 20150202174545.14C5910E8C@oystercatcher.gentoo.org
1 robbat2 15/02/02 17:45:45
2
3 Added: nfsmount.initd-1.3.1
4 Log:
5 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.
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
8
9 Revision Changes Path
10 1.1 net-fs/nfs-utils/files/nfsmount.initd-1.3.1
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/nfs-utils/files/nfsmount.initd-1.3.1?rev=1.1&view=markup
13 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
14
15 Index: nfsmount.initd-1.3.1
16 ===================================================================
17 #!/sbin/runscript
18 # Copyright 1999-2015 Gentoo Foundation
19 # Distributed under the terms of the GNU General Public License v2
20 # $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 $
21
22 # This is mostly as a fix for bug #537996, to avoid breaking existing users
23 # with nfsmount in their runlevels.
24 # If neither nfsclient nor netmount are in your runlevels, and you manually
25 # start netmount before nfsclient, then this will break. A real solution is
26 # forthcoming, but requires feature development, see bug #406021 for soft
27 # dependencies
28 depend() {
29 need nfsclient netmount
30 }
31
32 msg() {
33 ewarn "nfsmount is deprecated, please migrate as described in the news item: 2015-02-02-nfs-service-changes"
34 ewarn "This migration script will be removed not sooner than 2015/August/01"
35 }
36
37 start() {
38 msg
39 }
40
41 stop() {
42 msg
43 }