Skip to content
Snippets Groups Projects
stop.bash 198 B
Newer Older
  • Learn to ignore specific revisions
  • #!/bin/bash
    status="NONE"
    
    alfredo's avatar
    alfredo committed
    if [ -f "/home/debian/CONFIG/scenari/STATUS" ]; then status=$(cat /home/debian/CONFIG/scenari/STATUS); fi
    
    if [ $status == "OFF" ]; then /home/debian/bin/stopag Scenari; fi