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 # Latest change: Wed Sep 19 20:07:43 CEST 2007 [mika]
8 ################################################################################
12 . /etc/grml/lsb-functions || exit 6
14 if [ -x /usr/bin/freshclam ] ; then
15 einfo "Updating clamav database via running freshclam"
16 /usr/bin/freshclam ; eend $?
18 ewarn "freshclam not installed" ; eend 0
21 if [ -x /usr/bin/update-pciids ] ; then
22 einfo "Updating PCI- and USB-ids"
23 update-pciids || echo "Warning: update-pciids was not successfull">&2
24 update-usbids || echo "Warning: update-usbids was not successfull">&2
27 ewarn "update-pciids/update-usbids not installed" ; eend 0
30 if [ -x /usr/sbin/nessus-update-plugins ] ; then
31 einfo "Updating nessus-plugins"
32 nessus-update-plugins || echo "Warning: nessus-update-plugins was not successfull">&2
35 ewarn "nessus-update-plugins not installed" ; eend 0
38 ## END OF FILE #################################################################