diff --git a/usr/bin/watchdog b/usr/bin/watchdog index cdd268f..23e3522 100644 --- a/usr/bin/watchdog +++ b/usr/bin/watchdog @@ -1,6 +1,3 @@ -# Version 1.0: -# Created 2024 by Tim Eertmoed, Christian Hampp @ WiS IT-Solutions GmbH, Germany to work on Raspian as custom pxe init script. - #!/bin/bash watchdog=$(sudo cat /var/lib/dhcp/* | grep -a "option watchdog" | tail -1 | \ awk '{for (i=3; i<=NF; i++) printf "%s ", $i}' | tr -d '";') @@ -19,4 +16,6 @@ else echo "ping = $ip" | sudo tee -a "$config_file" > /dev/null done fi -sudo systemctl restart watchdog \ No newline at end of file +sudo systemctl restart watchdog +# Version 1.0: +# Created 2024 by Tim Eertmoed, Christian Hampp @ WiS IT-Solutions GmbH, Germany to work on Raspian as custom pxe init script. \ No newline at end of file