Package: hal
Version: 0.5.10-4
Followup-For: Bug #448463

I see the same and it is accompanied by a syntax error regarding a
failed test. 

I suspect that when line 45 of the script is processed, the variable
DELL_WCTL is not set:

In line 10-15, the variable is set, but only if you have a dell laptop:

if [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = "dell" ]; then
    DELL_WCTL=/usr/bin/dellWirelessCtl
    if [ -x /usr/sbin/dellWirelessCtl ]; then
        DELL_WCTL=/usr/sbin/dellWirelessCtl
    fi
fi

Which means that on other machines, the test in line 45

if [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = "dell" -a -x $DELL_WCTL ]; then

fails, because the variable is not simply empty, but it is not set,
therefore bash complains about a missing argument.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hal depends on:
ii  adduser                      3.105       add and remove users and groups
ii  dbus                         1.1.2-1     simple interprocess messaging syst
ii  hal-info                     20071030-1  Hardware Abstraction Layer - fdi f
ii  libc6                        2.7-3       GNU C Library: Shared libraries
ii  libdbus-1-3                  1.1.2-1     simple interprocess messaging syst
ii  libdbus-glib-1-2             0.74-1      simple interprocess messaging syst
ii  libexpat1                    1.95.8-4    XML parsing C library - runtime li
ii  libgcc1                      1:4.2.2-4   GCC support library
ii  libglib2.0-0                 2.14.4-2    The GLib library of C routines
ii  libhal-storage1              0.5.10-4    Hardware Abstraction Layer - share
ii  libhal1                      0.5.10-4    Hardware Abstraction Layer - share
ii  libsmbios1                   0.13.10-1   Provide access to (SM)BIOS informa
ii  libstdc++6                   4.2.2-4     The GNU Standard C++ Library v3
ii  libusb-0.1-4                 2:0.1.12-8  userspace USB programming library
ii  libvolume-id0                0.114-2     libvolume_id shared library
ii  lsb-base                     3.1-24      Linux Standard Base 3.1 init scrip
ii  mount                        2.13-12     Tools for mounting and manipulatin
ii  pciutils                     1:2.2.4-1.1 Linux PCI Utilities
ii  pm-utils                     0.99.2-3    utilities and scripts for power ma
ii  udev                         0.114-2     /dev/ and hotplug management daemo
ii  usbutils                     0.73-5      Linux USB utilities

Versions of packages hal recommends:
ii  eject                         2.1.5-6    ejects CDs and operates CD-Changer
pn  libsmbios-bin                 <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to