Code Review
/
packages
/
trusty
/
cirros-testvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Add ethtool package to cirros image
[packages/trusty/cirros-testvm.git]
/
cirros-testvm
/
src-cirros
/
buildroot-2015.05
/
package
/
connman
/
S45connman
1
#!/bin/sh
2
3
case "$1" in
4
start)
5
echo -n "Starting connman ... "
6
start-stop-daemon -S -q -m -b -p /var/run/connmand.pid --exec /usr/sbin/connmand -- -n
7
echo "done."
8
;;
9
stop)
10
echo -n "Stopping connman ..."
11
start-stop-daemon -K -q -p /var/run/connmand.pid
12
echo "done."
13
;;
14
restart)
15
$0 stop
16
sleep 1
17
$0 start
18
;;
19
*)
20
echo "usage: $0 {start|stop|restart}"
21
;;
22
esac