23 lines
249 B
Plaintext
23 lines
249 B
Plaintext
|
#!/bin/sh
|
||
|
# /etc/rc.d/connamnd: start/stop connman
|
||
|
#
|
||
|
|
||
|
case $1 in
|
||
|
start)
|
||
|
connmand
|
||
|
;;
|
||
|
stop)
|
||
|
killall connmand
|
||
|
;;
|
||
|
restart)
|
||
|
$0 stop
|
||
|
$0 start
|
||
|
;;
|
||
|
*)
|
||
|
echo "Usage: $0 [start|stop|restart]"
|
||
|
;;
|
||
|
esac
|
||
|
|
||
|
# End of file
|
||
|
# vim: set ft=sh noet :
|