Package: sysfsutils
Version: 1.3.0-2

/etc/init.d/sysfsutils uses:

echo $val > /sys/$key

while to make it work in my situation, i have to use:

echo -n $val > /sys/$key

If i set /sys/devices/platform/i8042/serio0/press_to_select (permits
emitting left mouse event pushing the thinkpad trackstick) with 'echo
value > file', this file remains unchanged, if i set it with 'echo
-n', it works.  But, since i can change
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor without using
'-n' option, i guess kernel does not have a unified function{s} to make
such kind of checks, but given that using '-n' works anyway, i'd
suggest always to use 'echo -n' in /etc/init.d/sysfsutils.

-- 
Giuseppe Ciotta
(string 99 105 97 111)


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

Reply via email to