The Main Change was replacing the Backtick "`" with "$( )".
Otherwise I made attempts to have less calls to the "/usr/sbin/system_profiler".
Why call it on three unique occasions where one direct call will do?
I'm still working on a few things.
Next big change will be a function that looks up the plist value instead of direct calls through defaults and plistbuddy as there is nothing that accounts for missing values or files in that code.
The Main Change was replacing the Backtick "`" with "$( )". Otherwise I made attempts to have less calls to the "/usr/sbin/system_profiler". Why call it on three unique occasions where one direct call will do? I'm still working on a few things.
Next big change will be a function that looks up the plist value instead of direct calls through defaults and plistbuddy as there is nothing that accounts for missing values or files in that code.