Final change to the flow. Removing \n and -n
This commit is contained in:
parent
855562a2c8
commit
195f975113
1 changed files with 4 additions and 4 deletions
|
@ -32,7 +32,7 @@ get_tools() {
|
||||||
}
|
}
|
||||||
|
|
||||||
check_problem() {
|
check_problem() {
|
||||||
usrmsg "Querying the SMBus for its current status...\n"
|
usrmsg "Querying the SMBus for its current status..."
|
||||||
problem=$($inb 0xf00f)
|
problem=$($inb 0xf00f)
|
||||||
validate_problem
|
validate_problem
|
||||||
}
|
}
|
||||||
|
@ -49,12 +49,12 @@ fi
|
||||||
|
|
||||||
fix() {
|
fix() {
|
||||||
attempts=$((attempts+1))
|
attempts=$((attempts+1))
|
||||||
usrmsg -n "Attempt $attempts at fixing the SMBus..."
|
usrmsg "Attempt $attempts at fixing the SMBus..."
|
||||||
sleep 1
|
sleep 1
|
||||||
usrmsg -n " (#3)... "
|
usrmsg " (#3)... "
|
||||||
"$outb" 0xf00f 3 2>/dev/null
|
"$outb" 0xf00f 3 2>/dev/null
|
||||||
sleep 1
|
sleep 1
|
||||||
usrmsg -n " (#7)... "
|
usrmsg " (#7)... "
|
||||||
"$outb" 0xf00f 7 2>/dev/null
|
"$outb" 0xf00f 7 2>/dev/null
|
||||||
sleep 1
|
sleep 1
|
||||||
usrmsg " fix applied."
|
usrmsg " fix applied."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue