Junxiao Shi | d71d84c | 2014-04-18 17:22:50 -0700 | [diff] [blame] | 1 | #!@BASH@ |
2 | |||||
Alexander Afanasyev | b47d538 | 2014-05-05 14:35:03 -0700 | [diff] [blame] | 3 | VERSION="@VERSION@" |
4 | |||||
5 | case "$1" in | ||||
6 | -h) | ||||
7 | echo Usage | ||||
8 | echo $0 | ||||
9 | echo " Stop NFD and RIB Management daemon" | ||||
10 | exit 0 | ||||
11 | ;; | ||||
12 | -V) | ||||
13 | echo $VERSION | ||||
14 | exit 0 | ||||
15 | ;; | ||||
16 | "") ;; # do nothing | ||||
17 | *) | ||||
18 | echo "Unrecognized option $1" | ||||
19 | exit 1 | ||||
20 | ;; | ||||
21 | esac | ||||
22 | |||||
Junxiao Shi | d71d84c | 2014-04-18 17:22:50 -0700 | [diff] [blame] | 23 | sudo killall nrd |
24 | sudo killall nfd |