diff --git a/etc/init.d/hald b/etc/init.d/hald index 4c1f39e..6ebda23 100755 --- a/etc/init.d/hald +++ b/etc/init.d/hald @@ -36,6 +36,12 @@ source /etc/init.d/functions case "$1" in start) + if [ -f /usr/share/pci.ids.gz ]; then + gzip -d -c /usr/share/pci.ids.gz >/usr/share/pci.ids + fi + if [ -f /usr/share/usb.ids.gz ]; then + gzip -d -c /usr/share/usb.ids.gz >/usr/share/usb.ids + fi if [ -f /var/run/hald.pid ]; then if [ "`pgrep -P 1 hald`" == "`cat /var/run/hald.pid`" ]; then echo -n "Hald already running" @@ -46,7 +52,7 @@ case "$1" in fi fi echo -n "Starting Hardware Abstraction Layer Daemon" - loadproc /usr/sbin/hald --use-syslog + loadproc /usr/sbin/hald --verbose=yes --use-syslog PID=`pgrep -P 1 hald` echo $PID >/var/run/hald.pid ;;