2010-04-20 16:15:14 +00:00
|
|
|
description "Hardware Abstraction Layer daemon startup"
|
|
|
|
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
|
|
|
version 1.0
|
|
|
|
emits none special
|
|
|
|
|
|
|
|
start on (runlevel [2345] and (started dbus))
|
2010-06-23 10:16:49 +00:00
|
|
|
stop on runlevel [016]
|
2010-04-20 16:15:14 +00:00
|
|
|
|
|
|
|
console none
|
|
|
|
|
|
|
|
pre-start script
|
|
|
|
if [ ! -f /usr/share/pci.ids ]; then
|
|
|
|
if [ -f /usr/share/pci.ids.gz ]; then
|
|
|
|
gzip -d -c /usr/share/pci.ids.gz >/usr/share/pci.ids
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
if [ ! -f /usr/share/usb.ids ]; then
|
|
|
|
if [ -f /usr/share/usb.ids.gz ]; then
|
|
|
|
gzip -d -c /usr/share/usb.ids.gz >/usr/share/usb.ids
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
end script
|
|
|
|
|
|
|
|
exec /usr/sbin/hald --daemon=no --verbose=yes --use-syslog
|