File: hwbootscan

package info (click to toggle)
hwinfo 21.67-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 8,836 kB
  • sloc: ansic: 45,096; perl: 3,325; makefile: 233; sh: 181
file content (15 lines) | stat: -rw-r--r-- 286 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

rm -f /var/lib/hardware/LOCK

/sbin/hwscan --silent --boot --fast --isapnp --pci --block --floppy --mouse

#
# create icons for static drives
#
if [ -e /etc/hotplug/hotplug.subfs.functions ]; then
  . /etc/hotplug/hotplug.subfs.functions
  coldplug_create_subfs
fi

exit 0