@@ -37,7 +37,7 @@ print_centered "Watchdog hardware v1.0"
if [ -f /tmp/watchdog.1 ];then rm /tmp/watchdog.1;fi
cat <<'EOF'>> /tmp/watchdog.1
#Watchdog
-SUBSYSTEM=="tty", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="7523", SYMLINK+="watchdog"
+SUBSYSTEM=="tty", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="7523", SYMLINK+="watchdog" , RUN="/usr/local/bin/wd_control.sh"
EOF
if [ -f /tmp/watchdog.2 ];then rm /tmp/watchdog.2;fi
cat <<'EOF'>> /tmp/watchdog.2