Parcourir la source

update watchdog

Votre Nom il y a 1 an
Parent
commit
556377d00e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      options/watchdog.sh

+ 1 - 1
options/watchdog.sh

@@ -37,7 +37,7 @@ print_centered "Watchdog hardware v1.0"
 if  [ -f /tmp/watchdog.1 ];then rm /tmp/watchdog.1;fi
 if  [ -f /tmp/watchdog.1 ];then rm /tmp/watchdog.1;fi
 cat <<'EOF'>> /tmp/watchdog.1
 cat <<'EOF'>> /tmp/watchdog.1
 #Watchdog
 #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
 EOF
 if  [ -f /tmp/watchdog.2 ];then rm /tmp/watchdog.2;fi
 if  [ -f /tmp/watchdog.2 ];then rm /tmp/watchdog.2;fi
 cat <<'EOF'>> /tmp/watchdog.2
 cat <<'EOF'>> /tmp/watchdog.2