Difference between revisions of "Igel Teamviewer"

From Michael's Information Zone
Jump to navigation Jump to search
Line 4: Line 4:
 
tar -xf teamviewer_qs.tar.gz
 
tar -xf teamviewer_qs.tar.gz
 
</pre>
 
</pre>
*Starting from the terminal on a Ubuntu VM was
+
*Initialization script based on Zoom script from Igel. I named it custompart-qs to stay consistent.
<pre>
 
LC_ALL=C ./teamviewer
 
</pre>
 
*Initialization script based on Zoom script from Igel. I named it custompart-qs to stay conistant.
 
 
<pre>
 
<pre>
 
#!/bin/sh
 
#!/bin/sh
Line 18: Line 14:
  
 
# custom partition path
 
# custom partition path
CP="${MP}/qs"
+
CP="${MP}/teamviewerqs"
  
 
# output to systemlog with ID amd tag
 
# output to systemlog with ID amd tag

Revision as of 13:31, 4 August 2020

  • Work in progress.
wget https://download.teamviewer.com/download/version_11x/teamviewer_qs.tar.gz
tar -xf teamviewer_qs.tar.gz
  • Initialization script based on Zoom script from Igel. I named it custompart-qs to stay consistent.
#!/bin/sh

ACTION="custompart-qs_${1}"

# mount point path
MP=$(get custom_partition.mountpoint)

# custom partition path
CP="${MP}/teamviewerqs"

# output to systemlog with ID amd tag
LOGGER="logger -it ${ACTION}"
echo "Starting" | $LOGGER

case "$1" in
init)
        LC_ALL=C ${CP}/teamviewer

esac

echo "Finished" | $LOGGER
exit 0
  • Script in base64
IyEvYmluL3NoCgpBQ1RJT049ImN1c3RvbXBhcnQtcXNfJHsxfSIKCiMgbW91bnQgcG9pbnQgcGF0aApNUD0kKGdldCBjdXN0b21fcGFydGl0aW9uLm1vdW50cG9pbnQpCgojIGN1c3RvbSBwYXJ0aXRpb24gcGF0aApDUD0iJHtNUH0vcXMiCgojIG91dHB1dCB0byBzeXN0ZW1sb2cgd2l0aCBJRCBhbWQgdGFnCkxPR0dFUj0ibG9nZ2VyIC1pdCAke0FDVElPTn0iCmVjaG8gIlN0YXJ0aW5nIiB8ICRMT0dHRVIKCmNhc2UgIiQxIiBpbgppbml0KQogICAgICAgIExDX0FMTD1DICR7Q1B9L3RlYW12aWV3ZXIKCmVzYWMKCmVjaG8gIkZpbmlzaGVkIiB8ICRMT0dHRVIKZXhpdCAwCg==
  • Create the partition.
chmod +x custompart-qs
version=$(teamviewerqs/teamviewer --version | grep -Eo [0-9]+.[0-9]+.[0-9]+)
tar -cjvf qs_${version}.tar.bz2 teamviewerqs custompart-qs
  • Create inf file.
cat <<EOF > qs.inf
[INFO]
[PART]
file="qs_${version}.tar.bz2"
version="${version}"
size="500M"
name="qs"
minfw="11.03.500"
EOF