]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/ser/files/init
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / ser / files / init
1 #!/bin/sh
2
3 PATH=/bin:/usr/bin:/sbin:/usr/sbin
4
5 case "$1" in
6         start)
7                 echo -n "Starting SIP Express Router"
8                 serctl start
9                 echo "."
10         ;;
11         stop)
12                 echo -n "Stopping SIP Express Router"
13                 serctl stop
14                 echo "."
15         ;;
16         restart)
17                 echo -n "Restarting SIP Express Router"
18                 serctl restart
19                 echo "."
20         ;;
21         *)
22                 echo "Usage: $0 {start|stop|restart}"
23                 exit 1
24         ;;
25 esac
26
27 exit 0