Add run-fstrim fcron script.
--- /dev/null
+# &options min hrs day-of-month month day-of-week command
+# Run fstrim command once a week at 1:05
+&mail(false) 05 01 * * 1 /usr/local/bin/run-fstrim.sh
--- /dev/null
+# &options min hrs day-of-month month day-of-week command
+# Update PCI IDs database every day at 4:05
+&mail(false) 05 04 * * * /usr/sbin/update-pciids
--- /dev/null
+# &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.sh
+
+++ /dev/null
-# &options min hrs day-of-month month day-of-week command
-# Update PCI IDs database every day at 4:05
-&mail(false) 05 04 * * * /usr/sbin/update-pciids
+++ /dev/null
-# &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.sh
-
# script-name start stop
bootscript_add_rcsysinit fcron 95 84
+
+ install -v -m644 ${SCRDIR}/misc/fcron.d/* /etc/fcron/fcron.d
}
ZLIB=no \
install install-lib
}
-
-hvbuild_post()
-{
- install -v -m644 ${SCRDIR}/misc/update-pciids /etc/fcron/fcron.d
-}
+++ /dev/null
-#!/bin/bash
-
-hvbuild_post()
-{
- install -v -m644 ${SCRDIR}/misc/update-usbids /etc/fcron/fcron.d
-}