repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Wed Jan 25 00:20:47 UTC 2012
[aur-mirror.git]
/
pacmail
/
pacmail
blob
8fd6d4e30d2fb084c726b1ee18505a1c1fd7a4bf
1
#!/bin/bash
2
3
.
/
etc
/
rc.conf
4
.
/
etc
/
rc.d
/
functions
5
6
start
() {
7
stat_busy
"Starting PacMail"
8
/
usr
/
bin
/
pacmail start
9
stat_done
10
}
11
12
stop
() {
13
stat_busy
"Shutting down PacMail"
14
/
usr
/
bin
/
pacmail stop
15
stat_done
16
}
17
18
case
"
$1
"
in
19
start
)
20
start
21
;;
22
stop
)
23
stop
24
;;
25
restart
)
26
stop
27
start
28
;;
29
*)
30
echo
$
"Usage:
$0
{start|stop|restart}"
31
;;
32
esac
33
exit
0
34