소스 검색

reboot option

clementinecomputing 5 년 전
부모
커밋
ce163672e0
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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