Hi all,
Adding the usbutils package into the book, I thought I'd add simple
bootscripts to this package as well as to the pciutils package.
Simply, there would be (using usbutils as an example) the following
files added if you elect to install the boot script:
/etc/rc.d/init.d/usbids
/etc/rc.d/rc3.d/S95usbids -> ../init.d/usbids
/etc/rc.d/rc4.d/S95usbids -> ../init.d/usbids
/etc/rc.d/rc5.d/S95usbids -> ../init.d/usbids
The script (redundant stuff in every script snipped):
case "$1" in
start)
boot_mesg "Downloading the current usb.ids file..."
/usr/sbin/update-usbids
evaluate_retval
;;
*)
echo "Usage: $0 start"
exit 1
;;
=====================================================================
I'd like to use the rcsysinit.d dir instead of the run-level dirs,
but networking is not available.
Of course, the instructions in the book for installing the scripts will
indicate that installing it is totally optional, and it requires
Internet connectivity at the end of the boot process. As I have a
broadband connection, I've been updating my pci.ids file at boot time
for quite a while now. Works for me.
Thoughts, comments?
--
Randy
rmlscsi: [bogomips 1003.27] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
06:02:00 up 7 days, 22:02, 1 user, load average: 0.00, 0.01, 0.00
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page