restart 200 Bytes
Newer Older
German Leon's avatar
sigo...  
German Leon committed
1
2
3
4
5
#!/bin/bash
trap 'killall iamalive_ini; echo "Enable watchdog"' INT 
sudo killall -2 test.py
#sudo shutdown -r now
for i in $(seq 120 -1 1); do  echo 'Cuenta atras para shutdown $i \r'; sleep 1; done