updating script

master
Steffen Pohle 4 years ago
parent 4ab5c9c275
commit ad232359ac

@ -1,11 +1,10 @@
#!/bin/bash
SID=0
FB_IP=fritz.box
#
# define FB_USER and FB_PASS in file fbconfig.config the user must have access to the SmartHome
source fbconfig.config
source $HOME/.fbsh.config
#
# login into the FB, grabbing a valid Session Key into variable SID
@ -35,7 +34,7 @@ function getdevices () {
}
login $FB_IP $FB_USER $FB_PASS
getdevices $FB_IP
login $FBSH_HOSTNAME $FBSH_USER $FBSH_PASS
getdevices $FBSH_HOSTNAME
echo $LIST

Loading…
Cancel
Save