From: Nicolas Boisselier Date: Fri, 14 Apr 2023 01:28:25 +0000 (+0200) Subject: date_install for docker X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=4be5d2df8fdc3b560dbbc2eb20507379cb2f9642;p=nb.git date_install for docker --- diff --git a/etc/profile.d/sys.sh b/etc/profile.d/sys.sh index aca9034b..ec8d40b1 100644 --- a/etc/profile.d/sys.sh +++ b/etc/profile.d/sys.sh @@ -63,11 +63,12 @@ sys_public_ip() { sys_date_install() { (date -r \ $( \ - ls -1drt --sort=time \ + ls -1drtc \ /lost+found \ /etc/ssh/ssh_host_*_key.pub\ /etc/ssh_host_dsa_key.pub \ /etc/machine-id \ + /.dockerenv \ |head -1 \ ) +'%F %T' \ ) 2>/dev/null