- update-pciids || echo "Warning: update-pciids was not successfull">&2
- update-usbids || echo "Warning: update-usbids was not successfull">&2
+ if [ -n "$TIMEOUT" ] ; then
+ timeout $TIMEOUT update-pciids || echo "Warning: update-pciids was not successfull">&2
+ timeout $TIMEOUT update-usbids || echo "Warning: update-usbids was not successfull">&2
+ else
+ update-pciids || echo "Warning: update-pciids was not successfull">&2
+ update-usbids || echo "Warning: update-usbids was not successfull">&2
+ fi