By default, /usr/sbin/ultrabayd won't start. Some places needs changing, before it can run:
============================
#!/bin/sh
VERSION="0.1.000"
TPCTL="/usr/bin/tpctl"
IDECTL="/sbin/idectl"
============================
There is no /sbin/idectl, but it's in /usr/sbin/ instead. Besides:
=================
if [ "$d_type" != "$o_d_type" ] || [ "$d_id" != "$o_d_id" ]; then
echo -n "\07" > /dev/tty1
=================
Each time you run ultrabayd, you'll see the string "\07" on the first
virtual terminal (/dev/tty1). "-e" option is missing in echo.
Finally, I think these scripts (/usr/sbin/ultrabayd and
/usr/sbin/idectl) should belong to tpctl instead, since only IBM Thinkpad
users will want it; if it's included in hdparm then everybody will try
to run it, which is undesirable.
Abel
--
Abel Cheung
Linux counter #256983 | http://counter.li.org
GPG Key: (0xC67186FF) | http://deaddog.org/gpg.asc
Key fingerprint: 671C C7AE EFB5 110C D6D1 41EE 4152 E1F1 C671 86FF
pgp00000.pgp
Description: PGP signature
