We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:odroid-ups2 [2016/03/22 17:46]
joy.cho [ODROID-C1/C2]
en:odroid-ups2 [2016/03/23 09:57]
joy.cho [Auto shutdown Script]
Line 142: Line 142:
 This script checks the status of power and battery.\\ This script checks the status of power and battery.\\
 Save the following code as ups2.sh in home directory.\\ ​ Save the following code as ups2.sh in home directory.\\ ​
-Note that this script can be used with U3 as well as C1 without modification.\\+Note that this script can be used with U3 as well as C1/C2 without modification.\\
 <​code>​ <​code>​
 #!/bin/sh #!/bin/sh
Line 200: Line 200:
         if [ $retval -eq 0 ]         if [ $retval -eq 0 ]
         then         then
-                echo "​battery is low than 3.7V"+                echo "​battery is lower than 3.7V"
                 if test $MODEL = "​ODROID-C2"​                 if test $MODEL = "​ODROID-C2"​
                 then                 then
en/odroid-ups2.txt ยท Last modified: 2016/04/21 13:20 by joy.cho
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0