From 304e915a5106640b90a4e3c418d088e2229d0498 Mon Sep 17 00:00:00 2001 From: kueller Date: Fri, 5 Feb 2010 16:10:23 +0000 Subject: [PATCH] =?UTF-8?q?hald=20init=20=C3=BCberarbetiet.=20Hal=20mag=20?= =?UTF-8?q?nur=20entpackte=20usb/pci.ids=20files...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_hald@5348 504e572c-2e33-0410-9681-be2bf7408885 --- etc/init.d/hald | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 ;;