clementinecomputing 5 lat temu
rodzic
commit
ce163672e0
1 zmienionych plików z 4 dodań i 0 usunięć
  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