]> mop.ddnsfree.com - git repositories - brisk.git/commitdiff
add console 'sd' command, alias of 'shutdown'
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Thu, 31 Oct 2013 17:00:38 +0000 (18:00 +0100)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Thu, 31 Oct 2013 17:00:38 +0000 (18:00 +0100)
web/Obj/sac-a-push.phh

index ec5abd29c63caf5bb28e432a0324b504c267f889..973e01266c1318def844d1466928531397144cf1 100644 (file)
@@ -756,7 +756,7 @@ class Sac_a_push {
 
                                     global_dump();
                                 }
-                                else if ($line == "shutdown") {
+                                else if ($line == "shutdown" || $line == "sd") {
                                     if ($this->app->dump_data()) {
                                         return(0);
                                     }