summaryrefslogtreecommitdiff
path: root/network/kea/rc.kea
blob: 2d57a1089bf6ff87f88ed423d8647b83d7a3f290 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

case "$1" in
'start')
  keactrl start
  ;;
'stop')
  keactrl stop
  ;;
'restart')
  keactrl stop
  keactrl start
  ;;
'reload')
  keactrl reload
  ;;
'status')
  keactrl status
  ;;
*)
  echo "usage $0 start|stop|restart|reload|status"
esac