cyl
3 years ago
3 changed files with 1178 additions and 0 deletions
File diff suppressed because it is too large
@ -0,0 +1,20 @@ |
|||||
|
#!/bin/sh |
||||
|
typ=$1 |
||||
|
|
||||
|
#0:stop all |
||||
|
#1:start use cases |
||||
|
#2:restart gateway |
||||
|
|
||||
|
if [ "$typ" = "0" ];then |
||||
|
killall usecases_proxy |
||||
|
killall lora_pkt_fwd |
||||
|
killall process.sh |
||||
|
elif [ "$typ" = "1" ];then |
||||
|
/gateway/usecases_proxy -d Gateway & |
||||
|
elif [ "$typ" = "2" ];then |
||||
|
killall lora_pkt_fwd |
||||
|
killall process.sh |
||||
|
sh /gateway/start.sh |
||||
|
fi |
||||
|
|
||||
|
|
Binary file not shown.
Loading…
Reference in new issue