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:53]
joy.cho [Auto shutdown Script]
en:odroid-ups2 [2016/04/20 14:28]
joy.cho [Auto shutdown Script]
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"​ +                /​sbin/​shutdown -P 1
-                then +
-                        /​sbin/​poweroff +
-                else +
-                        ​/​sbin/​shutdown -P 1 +
-                fi +
         else         else
                 echo "​battery is good"                 echo "​battery is good"
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