Changeset ac8c7d4
- Timestamp:
- 10/22/2017 08:57:13 PM (7 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gimp3, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- df9499b
- Parents:
- ad4043e2
- Location:
- general/sysutils
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/pciutils.xml
rad4043e2 rac8c7d4 135 135 </para> 136 136 137 <para >137 <para revision="sysv"> 138 138 You may wish to add an entry to 139 139 <systemitem class="username">root</systemitem>'s (or any other user who has … … 142 142 periodically. 143 143 </para> 144 145 <para revision="systemd"> 146 You should update the <filename>/usr/share/hwdata/pci.ids</filename> file 147 periodically. Execute the following commands, as the 148 <systemitem class="username">root</systemitem> user, to create a systemd 149 timer to update it weekly on Sundays at 3:00 A.M. (local time): 150 </para> 151 152 <screen role="root" revision="systemd"><userinput>cat > /lib/systemd/system/update-pciids.service << "EOF" && 153 <literal>[Unit] 154 Description=Update pci.ids file 155 Documentation=man:update-pciids(8) 156 DefaultDependencies=no 157 After=local-fs.target 158 Before=shutdown.target 159 160 [Service] 161 Type=oneshot 162 RemainAfterExit=yes 163 ExecStart=/usr/sbin/update-pciids</literal> 164 EOF 165 cat > /lib/systemd/system/update-pciids.timer << "EOF" && 166 <literal>[Unit] 167 Description=Update pci.ids file weekly 168 169 [Timer] 170 OnCalendar=Sun 02:30:00 171 Persistent=true 172 173 [Install] 174 WantedBy=timers.target</literal> 175 EOF 176 systemctl enable update-usbids.timer</userinput></screen> 177 144 178 145 179 </sect2> -
general/sysutils/usbutils.xml
rad4043e2 rac8c7d4 143 143 <title>Configuring USB Utils</title> 144 144 145 <para >145 <para revision="sysv"> 146 146 The <filename>usb.ids</filename> data file is constantly being updated. 147 147 To get a current version of this file, using <xref linkend="wget"/>, … … 150 150 </para> 151 151 152 <screen role="root" ><userinput>wget http://www.linux-usb.org/usb.ids -O /usr/share/hwdata/usb.ids</userinput></screen>153 154 <para >152 <screen role="root" revision="sysv"><userinput>wget http://www.linux-usb.org/usb.ids -O /usr/share/hwdata/usb.ids</userinput></screen> 153 154 <para revision="sysv"> 155 155 You may wish to add an entry to 156 156 <systemitem class="username">root</systemitem>'s (or any other user who has … … 159 159 periodically. 160 160 </para> 161 162 <para revision="systemd"> 163 You should update the <filename>/usr/share/hwdata/usb.ids</filename> file 164 periodically. Execute the following commands, as the 165 <systemitem class="username">root</systemitem> user, to create a systemd 166 timer to update it weekly on Sundays at 3:00 A.M. (local time): 167 </para> 168 169 <screen role="root" revision="systemd"><userinput>cat > /lib/systemd/system/update-usbids.service << "EOF" && 170 <literal>[Unit] 171 Description=Update usb.ids file 172 Documentation=man:lusub(8) 173 DefaultDependencies=no 174 After=local-fs.target 175 Before=shutdown.target 176 177 [Service] 178 Type=oneshot 179 RemainAfterExit=yes 180 ExecStart=/usr/bin/wget http://www.linux-usb.org/usb.ids -O /usr/share/hwdata/usb.ids</literal> 181 EOF 182 cat > /lib/systemd/system/update-usbids.timer << "EOF" && 183 <literal>[Unit] 184 Description=Update usb.ids file weekly 185 186 [Timer] 187 OnCalendar=Sun 03:00:00 188 Persistent=true 189 190 [Install] 191 WantedBy=timers.target</literal> 192 EOF 193 systemctl enable update-usbids.timer</userinput></screen> 161 194 162 195 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.