2 # Filename: /etc/grml/fai/grml/grml_cleanup_chroot_no_online
3 # Purpose: execute tasks that require network access
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 ################################################################################
11 . /etc/grml/lsb-functions || exit 6
13 if [ -x /usr/bin/freshclam ] ; then
14 einfo "Updating clamav database via running freshclam"
15 /usr/bin/freshclam ; eend $?
17 ewarn "freshclam not installed" ; eend 0
20 if [ -x /usr/bin/update-pciids ] ; then
21 einfo "Updating PCI- and USB-ids"
22 update-pciids || echo "Warning: update-pciids was not successfull">&2
23 update-usbids || echo "Warning: update-usbids was not successfull">&2
26 ewarn "update-pciids/update-usbids not installed" ; eend 0
29 if [ -x /usr/sbin/nessus-update-plugins ] ; then
30 einfo "Updating nessus-plugins"
31 nessus-update-plugins || echo "Warning: nessus-update-plugins was not successfull">&2
34 ewarn "nessus-update-plugins not installed" ; eend 0
37 ## END OF FILE #################################################################