mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-27 18:54:06 +02:00
added env for usb-device-support
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user