1 |
mrness 08/08/01 21:26:45 |
2 |
|
3 |
Modified: hsfmodem-7.68.00.12-gentoo.patch |
4 |
Log: |
5 |
Gentooize init script template (#233498). |
6 |
(Portage version: 2.1.4.4) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 net-dialup/hsfmodem/files/hsfmodem-7.68.00.12-gentoo.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/hsfmodem/files/hsfmodem-7.68.00.12-gentoo.patch?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/hsfmodem/files/hsfmodem-7.68.00.12-gentoo.patch?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/hsfmodem/files/hsfmodem-7.68.00.12-gentoo.patch?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: hsfmodem-7.68.00.12-gentoo.patch |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/net-dialup/hsfmodem/files/hsfmodem-7.68.00.12-gentoo.patch,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- hsfmodem-7.68.00.12-gentoo.patch 30 Jul 2008 20:50:48 -0000 1.1 |
22 |
+++ hsfmodem-7.68.00.12-gentoo.patch 1 Aug 2008 21:26:44 -0000 1.2 |
23 |
@@ -1,6 +1,6 @@ |
24 |
diff -ur hsfmodem-7.68.00.12x86_64full.orig/modules/Makefile hsfmodem-7.68.00.12x86_64full/modules/Makefile |
25 |
---- hsfmodem-7.68.00.12x86_64full.orig/modules/Makefile 2008-07-16 15:24:00.000000000 +0000 |
26 |
-+++ hsfmodem-7.68.00.12x86_64full/modules/Makefile 2008-07-30 20:48:03.000000000 +0000 |
27 |
+--- hsfmodem-7.68.00.12x86_64full.orig/modules/Makefile 2008-08-01 21:22:36.000000000 +0000 |
28 |
++++ hsfmodem-7.68.00.12x86_64full/modules/Makefile 2008-08-01 21:22:08.000000000 +0000 |
29 |
@@ -145,7 +145,7 @@ |
30 |
ifeq ($(ON_BUILD_SYSTEM)-$(CONFIG_SND_HDA_INTEL),no-) |
31 |
# On Ubuntu Gutsy (7.10), the HDA modules are not included in linux-image but in a seprarate package |
32 |
@@ -11,8 +11,8 @@ |
33 |
|
34 |
else |
35 |
diff -ur hsfmodem-7.68.00.12x86_64full.orig/scripts/cnxtconfig.in hsfmodem-7.68.00.12x86_64full/scripts/cnxtconfig.in |
36 |
---- hsfmodem-7.68.00.12x86_64full.orig/scripts/cnxtconfig.in 2008-03-27 19:43:38.000000000 +0000 |
37 |
-+++ hsfmodem-7.68.00.12x86_64full/scripts/cnxtconfig.in 2008-07-30 20:48:03.000000000 +0000 |
38 |
+--- hsfmodem-7.68.00.12x86_64full.orig/scripts/cnxtconfig.in 2008-08-01 21:22:36.000000000 +0000 |
39 |
++++ hsfmodem-7.68.00.12x86_64full/scripts/cnxtconfig.in 2008-08-01 21:22:08.000000000 +0000 |
40 |
@@ -1973,9 +1973,9 @@ |
41 |
if [ -d /etc/udev/rules.d ]; then |
42 |
rm -f /etc/udev/rules.d/00-@CNXTTARGET@.rules |
43 |
@@ -25,3 +25,76 @@ |
44 |
fi |
45 |
fi |
46 |
|
47 |
+diff -ur hsfmodem-7.68.00.12x86_64full.orig/scripts/rccnxt.in hsfmodem-7.68.00.12x86_64full/scripts/rccnxt.in |
48 |
+--- hsfmodem-7.68.00.12x86_64full.orig/scripts/rccnxt.in 2008-08-01 21:22:36.000000000 +0000 |
49 |
++++ hsfmodem-7.68.00.12x86_64full/scripts/rccnxt.in 2008-08-01 21:23:20.000000000 +0000 |
50 |
+@@ -1,63 +1,12 @@ |
51 |
+-# |
52 |
+-# chkconfig: 2345 09 91 |
53 |
+-# description: @CNXTDRVDSC@ |
54 |
+-# |
55 |
+-### BEGIN INIT INFO |
56 |
+-# Provides: @CNXTTARGET@ |
57 |
+-# Should-Start: hotplug coldplug |
58 |
+-# Required-Start: $local_fs |
59 |
+-# Required-Stop: $network |
60 |
+-# Default-Start: 3 5 |
61 |
+-# Default-Stop: 0 1 2 6 |
62 |
+-# Description: Start @CNXTDRVDSC@ |
63 |
+-### END INIT INFO |
64 |
+ |
65 |
+-if [ -e /etc/runlevels ]; then |
66 |
+- begincmd="ebegin" |
67 |
+- endcmd="eend" |
68 |
+-else |
69 |
+- begincmd="echo" |
70 |
+- endcmd="/bin/true" |
71 |
+-fi |
72 |
+- |
73 |
+- |
74 |
+-start() |
75 |
+-{ |
76 |
+- ${begincmd} "Starting @CNXTDRVDSC@" |
77 |
++start() { |
78 |
++ ebegin "Starting @CNXTDRVDSC@" |
79 |
+ @CNXTSBINDIR@/@CNXTTARGET@config --rcstart |
80 |
+- ${endcmd} 0 |
81 |
++ eend 0 |
82 |
+ } |
83 |
+ |
84 |
+-stop() |
85 |
+-{ |
86 |
+- ${begincmd} "Stopping @CNXTDRVDSC@" |
87 |
++stop() { |
88 |
++ ebegin "Stopping @CNXTDRVDSC@" |
89 |
+ @CNXTSBINDIR@/@CNXTTARGET@config --rcstop |
90 |
+- ${endcmd} 0 |
91 |
++ eend 0 |
92 |
+ } |
93 |
+- |
94 |
+-restart() |
95 |
+-{ |
96 |
+- stop |
97 |
+- start |
98 |
+-} |
99 |
+- |
100 |
+-if [ ! -e /etc/runlevels ]; then |
101 |
+- case "$1" in |
102 |
+- start) |
103 |
+- start |
104 |
+- ;; |
105 |
+- stop) |
106 |
+- stop |
107 |
+- ;; |
108 |
+- restart|force-reload|reload) |
109 |
+- restart |
110 |
+- ;; |
111 |
+- status) |
112 |
+- exit 3 |
113 |
+- ;; |
114 |
+- *) |
115 |
+- echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload}" |
116 |
+- exit 1 |
117 |
+- ;; |
118 |
+- esac |
119 |
+-fi |