From 4be5d2df8fdc3b560dbbc2eb20507379cb2f9642 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Fri, 14 Apr 2023 03:28:25 +0200 Subject: [PATCH] date_install for docker --- etc/profile.d/sys.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.3