PHP 7.4.33
Preview: watchdog.sh Size: 245 B
/home/godevadmin/public_html/upload_images/home/000~ROOT~000/usr/lib/dracut/modules.d/04watchdog/watchdog.sh

#!/bin/sh
if [ -e /dev/watchdog ]; then
	if [ ! -e /tmp/watchdog_timeout ]; then
		wdctl -s 60 /dev/watchdog >/dev/null 2>&1
		> /tmp/watchdog_timeout
	fi
	info "Triggering watchdog"
	>/dev/watchdog
else
	modprobe ib700wdt
	modprobe i6300esb
fi

Directory Contents

Dirs: 0 × Files: 3

Name Size Perms Modified Actions
1004 B lrwxr-xr-x 2024-04-06 13:22:07
Edit Download
61 B lrwxr-xr-x 2018-10-08 13:38:33
Edit Download
245 B lrwxr-xr-x 2018-10-08 13:38:33
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).