Advertisement
FranzVuttke

awake.sh

Nov 23rd, 2023
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.33 KB | Source Code | 0 0
  1. #!/bin/bash
  2.  
  3. #!/bin/bash
  4. #
  5. # by OuNiS 11.2023
  6. #
  7.  
  8. EXEC_TIME="3s"
  9.  
  10. # echo "def: "$EXEC_TIME
  11. if test -n "$1"; then
  12.         #echo parametr!
  13.         EXEC_TIME=$1
  14. fi
  15. # echo "par: "$1
  16. # echo "exec: "$EXEC_TIME
  17.  
  18. echo "Setting awake after: "$EXEC_TIME
  19. sleep $EXEC_TIME
  20. #belly
  21. seq 5 | while read x ; do sleep .2s && bell ; done ;
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement