Package: smartmontools
Version: 5.36-6
Severity: wishlist
Tags: patch

i'we made a litle patch to /etc/init.d/smartmontools
with it sata works well. i think.

enable_smart() {
  echo -n "Enabling S.M.A.R.T. for:"
  for device in $enable_smart; do
        echo -n " $device"
        if [ $device = /dev/sd[a-z] ]; then
            $SMARTCTL --quietmode=errorsonly -d ata --smart=on $device || \
                { echo -n "(failed)"; RET=2; }
        else
            $SMARTCTL --quietmode=errorsonly --smart=on $device || \
                { echo -n "(failed)"; RET=2; }
        fi
  done
  echo "."
}


-- Package-specific info:
Ouput of /usr/share/bug/smartmontools:
CONFIG_IDE_TASK_IOCTL=y

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.14
Locale: LANG=hu_HU, LC_CTYPE=hu_HU (charmap=ISO-8859-2)

Versions of packages smartmontools depends on:
ii  debianutils                   2.16       Miscellaneous utilities specific t
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries

Versions of packages smartmontools recommends:
ii  mailx            1:8.1.2-0.20050715cvs-1 A simple mail user agent

-- debconf-show failed


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

Reply via email to