Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- COUNT="/home/plez/.scripts/storage"
- if [ `cat $COUNT` -le "5" ]; then
- echo $[`cat $COUNT`+1] > $COUNT
- elif [ `cat $COUNT` -eq "6" ]; then
- echo $[`cat $COUNT`-6] > $COUNT
- fi
- pkill -9 -f '/bin/bash /usr/bin/counter'
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment