repo.or.cz
/
buildroot-gz.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
open-plc-utils: new package
[buildroot-gz.git]
/
package
/
exim
/
S86exim
blob
8c01b291e15a138511704461bd34ff17f76ebb0e
1
#!/bin/sh
2
#
3
# Start/stop exim
4
#
5
6
PIDFILE
=/
var
/
lock
/
exim
/
exim-daemon.pid
7
8
case
"
$1
"
in
9
start
)
10
echo
"Starting exim..."
11
start-stop-daemon
-S -x
exim
-- -bd
12
;;
13
stop
)
14
echo -n
"Stopping exim..."
15
start-stop-daemon
-K -o -p
$PIDFILE
16
;;
17
restart|reload
)
18
"
$0
"
stop
19
"
$0
"
start
20
;;
21
*)
22
echo
"Usage:
$0
{start|stop|restart}"
23
exit
1
24
esac
25
26
exit
$?