diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2025-03-16 01:29:32 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2025-03-16 01:29:32 +0200 |
commit | 586639907bbcf568089c04aced6669116888cdbf (patch) | |
tree | 94049dd14190c06d55cb25146c48110fd1bbcd1e /lib/_ak_network_yggdrasil | |
parent | 49de152cf937b3809e7faf0e4d04a231a641d9fc (diff) | |
download | arching-kaos-tools-586639907bbcf568089c04aced6669116888cdbf.tar.gz arching-kaos-tools-586639907bbcf568089c04aced6669116888cdbf.tar.bz2 arching-kaos-tools-586639907bbcf568089c04aced6669116888cdbf.zip |
All date functions accumulated in _ak_utils
Diffstat (limited to 'lib/_ak_network_yggdrasil')
-rwxr-xr-x | lib/_ak_network_yggdrasil | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/_ak_network_yggdrasil b/lib/_ak_network_yggdrasil index a551cd6..27fc0c8 100755 --- a/lib/_ak_network_yggdrasil +++ b/lib/_ak_network_yggdrasil @@ -18,6 +18,7 @@ ### along with this program. If not, see <http://www.gnu.org/licenses/>. ### source $AK_LIBDIR/_ak_log +source $AK_LIBDIR/_ak_utils function _ak_network_yggdrasil_scan_full(){ # This scan is using HIA resources to scan the whole cjdns network for peers @@ -65,7 +66,7 @@ function _ak_network_yggdrasil_scan_full(){ count="$(( $count + 1 ))" _ak_log_debug "Scanning [${count}/${max}] $ip..." node_fs_path="$AK_ZPEERSDIR/ygg/$(echo -n $ip| sed 's/://g')" - scan_ts="$(date -u +%s)" + scan_ts="$(_ak_datetime_unix)" if [ ! -d ${node_fs_path} ] then mkdir -p ${node_fs_path} |