hdparm/hdparm-9.43-fix-bashisms.patch

13 lines
436 B
Diff
Raw Normal View History

diff -Ndur hdparm-9.43/contrib/ultrabayd hdparm-9.43-fix-bashisms/contrib/ultrabayd
--- hdparm-9.43/contrib/ultrabayd 2000-02-04 22:30:30.000000000 +0200
+++ hdparm-9.43-fix-bashisms/contrib/ultrabayd 2014-11-17 04:17:08.381048316 +0200
@@ -41,7 +41,7 @@
END
if [ "$d_type" != "$o_d_type" ] || [ "$d_id" != "$o_d_id" ]; then
- echo -n "\07" > /dev/tty1
+ printf "\07" > /dev/tty1
o_d_type="$d_type"
o_d_id="$d_id"