/[smecontribs]/rpms/lcdproc/contribs7/lcdproc-0.5.2-scripts.patch
ViewVC logotype

Contents of /rpms/lcdproc/contribs7/lcdproc-0.5.2-scripts.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download)
Wed Feb 24 18:39:39 2010 UTC (14 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +0 -0 lines
Error occurred while calculating annotation data.
FILE REMOVED
Maintained upstream

1 --- lcdproc-0.5.2/scripts/init-LCDd.rpm.in.initscripts 2007-05-20 14:17:36.000000000 +0200
2 +++ lcdproc-0.5.2/scripts/init-LCDd.rpm.in 2007-05-20 14:22:24.000000000 +0200
3 @@ -19,7 +19,7 @@
4 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
5 #
6 #
7 -# chkconfig: 345 70 21
8 +# chkconfig: - 70 21
9 # description: LCDd(8) is the LCDproc server used for displaying text and other data to LCDs. \
10 # Apart from the main client lcdproc(1) there are various clients. \
11 # See http://lcdproc.omnipotent.net for details.
12 @@ -73,6 +73,12 @@
13 RETVAL=$?
14 }
15
16 +reload() {
17 + stop
18 + start
19 + RETVAL=$?
20 +}
21 +
22 restart() {
23 stop
24 start
25 @@ -94,6 +100,9 @@
26 status)
27 dostatus
28 ;;
29 + reload)
30 + restart
31 + ;;
32 restart)
33 restart
34 ;;
35 @@ -101,7 +110,7 @@
36 condrestart
37 ;;
38 *)
39 - echo "Usage: $0 {start|stop|status|restart|condrestart}"
40 + echo "Usage: $0 {start|stop|status|reload|restart|condrestart}"
41 exit 1
42 esac
43
44 --- lcdproc-0.5.2/scripts/init-lcdproc.rpm.in.initscripts 2007-05-20 14:17:02.000000000 +0200
45 +++ lcdproc-0.5.2/scripts/init-lcdproc.rpm.in 2007-05-20 14:21:13.000000000 +0200
46 @@ -19,7 +19,7 @@
47 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
48 #
49 #
50 -# chkconfig: 345 71 20
51 +# chkconfig: - 71 20
52 # description: LCDd(8) is the LCDproc server used for displaying text and other data to LCDs. \
53 # Apart from the main client lcdproc(1) there are various clients. \
54 # See http://lcdproc.omnipotent.net for details.
55 @@ -73,6 +73,12 @@
56 RETVAL=$?
57 }
58
59 +reload() {
60 + stop
61 + start
62 + RETVAL=$?
63 +}
64 +
65 restart() {
66 stop
67 start
68 @@ -94,6 +100,9 @@
69 status)
70 dostatus
71 ;;
72 + reload)
73 + restart
74 + ;;
75 restart)
76 restart
77 ;;
78 @@ -101,7 +110,7 @@
79 condrestart
80 ;;
81 *)
82 - echo "Usage: $0 {start|stop|status|restart|condrestart}"
83 + echo "Usage: $0 {start|stop|status|reload|restart|condrestart}"
84 exit 1
85 esac
86

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed