VMware Cloud Community
dee2
Enthusiast
Enthusiast

'function' command not supported on esx6.5

Hi

I have an old Dell poweredge R610 server running

ESX 6.5.0 #1 SMP Release build-4564106 Oct 26 2016 22:24:57 x86_64 x86_64 x86_64 ESXi

I am trying to write a script to collect some monitoring data. The script has function definitions like

function collect_data {
...
}
when I run the script I get error as
function: not found
syntax error: unexpected "}"
 
Looks like function command is not supported in busybox running on the server.
How can I enable all functions in busybox?
 
Thank you
0 Kudos
0 Replies