diff --git a/general/sysutils/usbutils.xml b/general/sysutils/usbutils.xml index 30d68f7504..1aee281c4b 100644 --- a/general/sysutils/usbutils.xml +++ b/general/sysutils/usbutils.xml @@ -86,14 +86,7 @@ Recommended - - - + (runtime) @@ -120,14 +113,10 @@ make make install - To install the usb.ids data file, using - , run, as the - root user: + For the usb.ids data file, install the + package. -install -dm755 /usr/share/hwdata/ && -wget http://www.linux-usb.org/usb.ids -O /usr/share/hwdata/usb.ids - The script lsusb.py displays information in a more easily readable form than lsusb. To find the options, @@ -147,61 +136,6 @@ wget http://www.linux-usb.org/usb.ids -O /usr/share/hwdata/usb.ids --> - - Configuring USB Utils - - - The usb.ids data file is constantly being updated. - To get a current version of this file, using , - periodically run again, as the - root user: - - -wget http://www.linux-usb.org/usb.ids -O /usr/share/hwdata/usb.ids - - - You should update the /usr/share/hwdata/usb.ids file - periodically. If you've installed - and completed the section on periodic jobs, - executeExecute the following commands, as the root user, - to create a weekly cron job: - systemd timer to update it weekly on Sundays - at 2:30 A.M. (local time): - - -cat > /etc/cron.weekly/update-usbids.sh << "EOF" && -#!/bin/bash -/usr/bin/wget http://www.linux-usb.org/usb.ids -O /usr/share/hwdata/usb.ids -EOF -chmod 754 /etc/cron.weekly/update-usbids.sh - -cat > /usr/lib/systemd/system/update-usbids.service << "EOF" && -[Unit] -Description=Update usb.ids file -Documentation=man:lsusb(8) -DefaultDependencies=no -After=local-fs.target network-online.target -Before=shutdown.target - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/bin/wget http://www.linux-usb.org/usb.ids -O /usr/share/hwdata/usb.ids -EOF -cat > /usr/lib/systemd/system/update-usbids.timer << "EOF" && -[Unit] -Description=Update usb.ids file weekly - -[Timer] -OnCalendar=Sun 03:00:00 -Persistent=true - -[Install] -WantedBy=timers.target -EOF -systemctl enable update-usbids.timer - - Contents