11 lines
345 B
Plaintext
11 lines
345 B
Plaintext
|
#!/bin/sh
|
||
|
for param in `vsish -e get /system/bootCmdLine|head -n 2 |tail -n 1`; do
|
||
|
if [ "xcatd" = ${param%=*} ]; then
|
||
|
xcatd=${param#*=}
|
||
|
fi
|
||
|
done
|
||
|
localcli network firewall unload
|
||
|
echo -e '<xcatrequest>\n<command>esxiready</command></xcatrequest>' | openssl s_client -connect $xcatd
|
||
|
localcli network firewall load
|
||
|
return ${SUCCESS}
|