]> gitweb.pimeys.fr Git - scripts-20-100.git/blob - ckankecéfini.sh
typo
[scripts-20-100.git] / ckankecéfini.sh
1 #!/bin/bash
2
3 # Pour alerter *localement* quand un truc est fini sur une machine *distante*
4
5 where=$1
6 what=$2
7
8 ssh ${where} "while [[ \"\$(pidof ${what})\" != \"\" ]]; do true; done"
9
10 notify-send --urgency=low -i preferences-system-network "${what} done on ${where}"