From: gobo72 Date: Tue, 8 Mar 2011 03:25:00 +0000 (+0000) Subject: usb-utils copie correctement le script pour mettre a jour les IDs. Enleve la copie... X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=700e3fd5c90d178a6412f40e550628315e456cfc;p=hvlinux.git usb-utils copie correctement le script pour mettre a jour les IDs. Enleve la copie manuelle et mis a jour crontab --- diff --git a/stage3/misc/update-usbids b/stage3/misc/update-usbids index 2255d26..ffd2af4 100644 --- a/stage3/misc/update-usbids +++ b/stage3/misc/update-usbids @@ -1,3 +1,4 @@ # &options min hrs day-of-month month day-of-week command # Update USB IDs database every day at 4:05 -&mail(false) 05 04 * * * /usr/sbin/update-usbids +&mail(false) 05 04 * * * /usr/sbin/update-usbids.sh + diff --git a/stage3/pkg/usbutils b/stage3/pkg/usbutils index 6ff7383..eca956c 100644 --- a/stage3/pkg/usbutils +++ b/stage3/pkg/usbutils @@ -7,18 +7,6 @@ hvconfig_pre() --disable-zlib" } -hvbuild_post() -{ - install -v -m755 update-usbids.sh /usr/sbin/update-usbids - - # Addition to /etc/fcron/fcrontab - #string_add "# Run update-usbids every day" /etc/fcron/fcrontab - #string_add "&mail(false) * 3 * * * /usr/sbin/update-usbids" /etc/fcron/fcrontab - - # Update database - /usr/sbin/update-usbids -} - hvbuild_post() { install -m644 ${SCRDIR}/misc/update-usbids /etc/fcron/fcron.d