Skip to content

Commit

Permalink
v6.27
Browse files Browse the repository at this point in the history
+ DietPi-Config | Fix No-IP online state estimation: pgrep checks for binary file without path, otherwise requires "-f" option. But since as well a manually started binary would work, outside of our systemd unit, and the systemd unit on the other hand kills every instance on stop, regardless of file path, we can and should check for the naked binary: #3205
  • Loading branch information
MichaIng authored Oct 26, 2019
1 parent bcf43ea commit 9b70bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dietpi/dietpi-config
Original file line number Diff line number Diff line change
Expand Up @@ -4289,7 +4289,7 @@ The following will now be applied:\n - CPU governor = Powersave\n - Display outp
noip_menutext='[Offline] Enter/Setup No-IP details'

# Check if No-IP is running (indicates login details are valid)
pgrep '/usr/local/bin/noip2' &> /dev/null && noip_menutext='[Online] Change No-IP details'
pgrep 'noip2' &> /dev/null && noip_menutext='[Online] Change No-IP details'

fi

Expand Down

0 comments on commit 9b70bd5

Please sign in to comment.