2 # Filename: ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/93-update-usbids
3 # Purpose: update pciids
4 # Authors: (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports: see http://grml.org/bugs/
6 # License: This file is licensed under the GPL v2.
7 ################################################################################
9 if ifclass NO_ONLINE ; then
10 echo "Ignoring script 93-update-usbids as NO_ONLINE is set."
17 [ -x $target/usr/bin/timeout ] && TIMEOUT="10" || TIMEOUT=""
19 if ! [ -x "${target}/usr/sbin/update-usbids" ] && ! [ -x "${target}/usr/bin/update-usbids" ] ; then
20 echo "Warning: update-usbids not installed (neither /usr/sbin/update-usbids nor /usr/bin/update-usbids exists)"
24 echo "Updating USB-IDs"
25 if [ -n "$TIMEOUT" ] ; then
26 $ROOTCMD timeout $TIMEOUT update-usbids
28 $ROOTCMD update-usbids
31 ## END OF FILE #################################################################
32 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2