0444dbdb94
fix bashisms in ultrabayd and udev.idedma.sh scripts OBS-URL: https://build.opensuse.org/request/show/261978 OBS-URL: https://build.opensuse.org/package/show/Base:System/hdparm?expand=0&rev=74
13 lines
436 B
Diff
13 lines
436 B
Diff
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"
|