aboutsummaryrefslogtreecommitdiff
path: root/sys/apps/microcode_ctl/microcode_ctl-less_verbose.patch
blob: 884d3eeb84c3fa99c709d4829213157394648229 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Description: Less verbose initialization script for microcode_ctl
Author: Luis ( luis at riseup d0t net )

--- microcode_ctl-1.14.orig/etc/rc.d/rc.microcode_ctl.new   2006-06-28 11:51:31.000000000 -0300
+++ microcode_ctl-1.14.new/etc/rc.d/rc.microcode_ctl.new    2006-11-18 21:51:30.000000000 -0200
@@ -93,7 +93,6 @@
 	echo -n "OK"
 	$SETCOLOR_NORMAL
 	echo -n "  ]"
-	echo -ne "\r"
 	echo ""
 }
 
@@ -104,7 +103,6 @@
 	echo -n "FAILED"
 	$SETCOLOR_NORMAL
 	echo -n "]"
-	echo -ne "\r"
 	echo ""
 }
 
@@ -114,12 +112,8 @@
 {
 	if [ $RETVAL -eq 0 ];
 	then
-		echo
-		echo -n "$0($$)"
 		echo_success
 	else
-		echo
-		echo -n "$0($$)"
 		echo_failure
 	fi
 
@@ -132,7 +126,7 @@
 function doit ()
 {
 	if [ "$VERBOSE" != no ] ; then
-		echo "Applying Intel IA32 Microcode update... "
+		echo -n "Applying Intel IA32 Microcode update... "
 	fi
 
 	$START $PROGRAM $ARGUMENTS
@@ -150,7 +144,6 @@
 			echo "$0: This kernel doesn't appear to have microcode device support?"
 		fi
 	fi
-	echo
 }