Browse Source

reboot option

clementinecomputing 5 years ago
parent
commit
ce163672e0
1 changed files with 4 additions and 0 deletions
  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