clementinecomputing 5 anni fa
parent
commit
ce163672e0
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      busunit/scripts/custom

+ 4 - 0
busunit/scripts/custom

@@ -85,6 +85,10 @@ elif [[ "$func" == "say" ]] ; then
 
   echo "$param" | espeak --stdin --stdout | aplay 2> /dev/null
 
+elif [[ "$func" == "reboot" ]] ; then
+
+  /sbin/reboot
+
 fi
 
 exit 0