scripts/archive/archives/watchdog

13 lines
213 B
Python
Executable file

#!/usr/bin/env python
# oui emacs c'est bien du -*- python -*-
# c'est fait pour le "software watchdog"....
from time import sleep
fd = open("/dev/watchdog","w+")
while 1:
fd.write('z')
sleep(15)