Print this page
5861 clean up obsolete init scripts
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/initpkg/init.d/Makefile
+++ new/usr/src/cmd/initpkg/init.d/Makefile
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
↓ open down ↓ |
14 lines elided |
↑ open up ↑ |
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21
22 22 #
23 23 # Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
24 24 # Copyright 2014 Garrett D'Amore <garrett@damore.org>
25 +# Copyright 2015 Nexenta Systems, Inc. All rights reserved.
25 26 #
26 27
27 28 include ../../Makefile.cmd
28 29
29 30 sparc_PROG=
30 31 i386_PROG=
31 32
32 33 PROG= \
33 34 README \
34 35 cachefs.daemon \
35 - devlinks \
36 - drvconfig \
37 - ldap.client \
38 - nfs.server \
39 - nscd \
40 - sendmail \
41 - slpd \
42 36 sysetup \
43 37 uucp \
44 38 $($(MACH)_PROG)
45 39
46 40
47 41 OTHERPROG= README.rcS README.rc2 README.rc3
48 42
49 43 ROOTETCINITD= $(ROOTETC)/init.d
50 44 ROOTETCRCSD= $(ROOTETC)/rcS.d
51 45 ROOTETCRC0D= $(ROOTETC)/rc0.d
52 46 ROOTETCRC1D= $(ROOTETC)/rc1.d
53 47 ROOTETCRC2D= $(ROOTETC)/rc2.d
54 48 ROOTETCRC3D= $(ROOTETC)/rc3.d
55 49
56 50 DIRS= $(ROOTETCINITD) \
57 51 $(ROOTETCRCSD) \
58 52 $(ROOTETCRC0D) \
59 53 $(ROOTETCRC1D) \
60 54 $(ROOTETCRC2D) \
61 55 $(ROOTETCRC3D)
62 56
63 57 ROOTETCINITDPROG= $(PROG:%=$(ROOTETCINITD)/%)
64 58
65 59 DIRMODE = 0755
66 60 FILEMODE = 0744
67 61 $(ROOTETCINITD)/README := FILEMODE = 0644
68 62 $(ROOTETCRCSD)/README := FILEMODE = 0644
69 63 $(ROOTETCRC2D)/README := FILEMODE = 0644
70 64 $(ROOTETCRC3D)/README := FILEMODE = 0644
71 65
72 66 .KEEP_STATE:
73 67
74 68 all: $(PROG)
75 69
76 70 # Don't re-install directories already installed by Targetdirs
77 71 #$(DIRS):
78 72 # $(INS.dir)
79 73
80 74 $(ROOTETCINITD)/%: %
81 75 $(INS.file)
82 76
83 77 $(ROOTETCRCSD)/%: %.rcS
84 78 $(INS.rename)
85 79
86 80 $(ROOTETCRC2D)/%: %.rc2
87 81 $(INS.rename)
88 82
89 83 $(ROOTETCRC3D)/%: %.rc3
90 84 $(INS.rename)
91 85
92 86 install: all $(ROOTETCINITDPROG) \
93 87 $(ROOTETCRCSD)/README \
94 88 $(ROOTETCRC2D)/README \
95 89 $(ROOTETCRC3D)/README
96 90
97 91 lint:
98 92
99 93 clean:
100 94
101 95 clobber:
↓ open down ↓ |
50 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX