ddns-scripts: refactor get_uptime() and avoid cat in sub-shell
authorPaul Donald <[email protected]>
Thu, 28 Nov 2024 02:43:33 +0000 (03:43 +0100)
committerFlorian Eckert <[email protected]>
Thu, 10 Apr 2025 07:34:38 +0000 (09:34 +0200)
commit5b277eb855a40417304acdd849f5c526eb6c297f
tree8a9c5f03fbbf98b4e47925b23617ad1d85a3d141
parent2bf1916a34ee1275c35e7bbb63fbea3fc4c94499
ddns-scripts: refactor get_uptime() and avoid cat in sub-shell

no sub-shell is spawned to get uptime.

Signed-off-by: Paul Donald <[email protected]>
net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh