modifying wtmp function to allow only updating certain variables to avoid overlaps, especially with online/offline status during a longer runtime of status-misc.sh
This commit is contained in:
@@ -41,4 +41,4 @@ else
|
||||
echo "<tool>Offline status is set. Turn on to enable checks</tool>"
|
||||
fi
|
||||
|
||||
wtmp # Write changes back
|
||||
wtmp var_ip4 var_ip6 var_vpn # Write changes back
|
||||
|
||||
Reference in New Issue
Block a user