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 | ||||
Alexander Afanasyev | f08a737 | 2015-02-09 21:28:19 -0800 | [diff] [blame] | 9 | echo " Stop NFD" |
Alexander Afanasyev | b47d538 | 2014-05-05 14:35:03 -0700 | [diff] [blame] | 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 nfd |