added env for usb-device-support

This commit is contained in:
Andre
2019-11-25 13:09:59 +01:00
committed by GitHub
parent b7cdabe427
commit eda7d5ba95

View File

@@ -7,6 +7,7 @@ uid=$SETUID
gid=$SETGID
zwave=$ZWAVE
avahi=$AVAHI
usbdevices=$USBDEVICES
# Getting date and time for logging
dati=`date '+%Y-%m-%d %H:%M:%S'`
@@ -154,7 +155,7 @@ then
echo ' '
fi
# Checking for and setting up avahi-daemon
# Checking for enabled avahi-daemon
if [ "$avahi" = "true" ]
then
echo "Avahi-daemon is activated by ENV."
@@ -164,6 +165,7 @@ then
echo ' '
fi
# Checking for enabled zwave-support
if [ "$zwave" = "true" ]
then
echo "ZWave is activated by ENV."
@@ -173,6 +175,16 @@ then
echo ' '
fi
# checking enabled usb-devices
if [ "$usbdevices" != "none" ]
then
echo "Usb-device-support is activated by ENV."
#testing
echo "Done."
echo ' '
fi
sleep 5
# Starting ioBroker