File: hwbootscan

package info (click to toggle)
hwinfo 16.0-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 6,212 kB
  • ctags: 5,187
  • sloc: ansic: 64,074; perl: 2,751; makefile: 314; sh: 146
file content (15 lines) | stat: -rw-r--r-- 286 bytes parent folder | download | duplicates (10)
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