dashboard
repositories
filestore
activity
search
login
main
/
apue
APUE course source code
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
update logger source code
guowenxue
2 days ago
7b55c92f8d1401a93c8fd8e342da271dce742000
[apue.git]
/
project
/
4.mqttd
/
tools
/
subsciber.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
hostname="weike-iot.com"
port=8013
uid="lingyun"
pwd="lingyun"
options="-h $hostname -p $port -u $uid -P $pwd"
topic="\$Sys/Studio/Uplink"
set -x
mosquitto_sub $options -t $topic