Browse Source

reboot option

clementinecomputing 5 năm trước cách đây
mục cha
commit
ce163672e0
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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