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 Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git]
/
kannel
/
rc.kannel
blob
13d439610269ff1e50bc4fbcd0cc4e00d44294c9
1
#!/bin/bash
2
3
.
/
etc
/
rc.conf
4
.
/
etc
/
rc.d
/
functions
5
6
case
"
$1
"
in
7
start
)
8
/
etc
/
rc.d
/
bearerbox start
9
/
etc
/
rc.d
/
smsbox start
10
/
etc
/
rc.d
/
wapbox start
11
;;
12
stop
)
13
/
etc
/
rc.d
/
wapbox stop
14
/
etc
/
rc.d
/
smsbox stop
15
/
etc
/
rc.d
/
bearerbox stop
16
;;
17
restart
)
18
$0
stop
19
sleep
3
20
$0
start
21
;;
22
*)
23
echo
"usage:
$0
{start|stop|restart}"
24
esac
25
exit
0