#!/bin/bash # Starts the abrt daemon # # chkconfig: 35 82 16 # description: Daemon to detect crashing apps # processname: abrtd ### BEGIN INIT INFO # Provides: abrt # Required-Start: $syslog $local_fs # Required-Stop: $syslog $local_fs # Default-Stop: 0 1 2 6 # Default-Start: 3 5 # Short-Description: start and stop abrt daemon # Description: Listen to and dispatch crash events ### END INIT INFO # Source function library. . /etc/rc.d/init.d/functions ABRT_BIN="/usr/sbin/abrtd" LOCK="/var/lock/subsys/abrtd" OLD_LOCK="/var/lock/subsys/abrt" RETVAL=0 # # Set these variables if you are behind proxy # #export http_proxy= #export https_proxy= # # See how we were called. # check() { # Check that we're a privileged user [ "`id -u`" = 0 ] || exit 4 # Check if abrt is executable test -x $ABRT_BIN || exit 5 } start() { check # Check if it is already running if [ ! -f $LOCK ] && [ ! -f $OLD_LOCK ]; then echo -n $"Starting abrt daemon: " daemon $ABRT_BIN RETVAL=$? [ $RETVAL -eq 0 ] && touch $LOCK echo fi return $RETVAL } stop() { check echo -n $"Stopping abrt daemon: " killproc $ABRT_BIN RETVAL=$? [ $RETVAL -eq 0 ] && rm -f $LOCK [ $RETVAL -eq 0 ] && rm -f $OLD_LOCK echo return $RETVAL } restart() { stop start } reload() { restart } case "$1" in start) start ;; stop) stop ;; reload) reload ;; force-reload) echo "$0: Unimplemented feature." RETVAL=3 ;; restart) restart ;; condrestart) if [ -f $LOCK ]; then restart fi # update from older version if [ -f $OLD_LOCK ]; then restart fi ;; status) status abrtd RETVAL=$? ;; *) echo $"Usage: $0 {start|stop|status|restart|condrestart|reload|force-reload}" RETVAL=2 esac exit $RETVAL dalone-master'>ncr-standalone-master User-space crypto API development for LinuxMiloslav Trmac
summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-iop3xx/iop321-setup.c
blob: 0ebbcb20c6ae2ab3a43177a019c51ec254d16400 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174