From fcf4438f4c456ce2ecb6e787f7082cf8d446f63d Mon Sep 17 00:00:00 2001 From: Zack T Date: Wed, 28 Aug 2019 14:25:37 -0700 Subject: [PATCH] v1.0.0 = Initial Version + Initial Version + (Just fixed a few minor things.) --- Jamf Pro/Extension Attributes/jamf_ea_BootTime.sh | 2 +- Jamf Pro/Extension Attributes/jamf_ea_Location.py | 3 +-- Jamf Pro/Extension Attributes/jamf_ea_UpTime.py | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Jamf Pro/Extension Attributes/jamf_ea_BootTime.sh b/Jamf Pro/Extension Attributes/jamf_ea_BootTime.sh index 9d88e48..11f29f3 100644 --- a/Jamf Pro/Extension Attributes/jamf_ea_BootTime.sh +++ b/Jamf Pro/Extension Attributes/jamf_ea_BootTime.sh @@ -13,6 +13,6 @@ bootTime=$( /usr/sbin/sysctl kern.boottime | /usr/bin/awk '{print $5}' | /usr/bi bootTimeFormatted=$( /bin/date -jf %s $bootTime +%F\ %T ) -echo "$bootTimeFormatted" +echo "${bootTimeFormatted}" exit 0 \ No newline at end of file diff --git a/Jamf Pro/Extension Attributes/jamf_ea_Location.py b/Jamf Pro/Extension Attributes/jamf_ea_Location.py index d428d12..227a614 100644 --- a/Jamf Pro/Extension Attributes/jamf_ea_Location.py +++ b/Jamf Pro/Extension Attributes/jamf_ea_Location.py @@ -5,8 +5,7 @@ # By: Zack Thompson / Created: 8/24/2019 # Version: 1.0.0 / Updated: 8/24/2019 / By: ZT # -# Description: This script allows you to upload a compressed zip of specified files to a -# computers' inventory record. +# Description: A Jamf Pro Extension Attribute to get the physical location of a device. # ################################################################################################### """ diff --git a/Jamf Pro/Extension Attributes/jamf_ea_UpTime.py b/Jamf Pro/Extension Attributes/jamf_ea_UpTime.py index b33d7b2..c13b388 100644 --- a/Jamf Pro/Extension Attributes/jamf_ea_UpTime.py +++ b/Jamf Pro/Extension Attributes/jamf_ea_UpTime.py @@ -5,7 +5,7 @@ # By: Zack Thompson / Created: 8/24/2019 # Version: 1.0.0 / Updated: 8/24/2019 / By: ZT # -# Description: A Jamf Pro Extension Attribute to get the boot time of a device. +# Description: A Jamf Pro Extension Attribute to get the up time of a device. # ################################################################################################### """