Difference between revisions of "Igel Teamviewer"

From Michael's Information Zone
Jump to navigation Jump to search
Line 38: Line 38:
 
version=$(teamviewerqs/teamviewer --version | grep -Eo [0-9]+.[0-9]+.[0-9]+)
 
version=$(teamviewerqs/teamviewer --version | grep -Eo [0-9]+.[0-9]+.[0-9]+)
 
tar -cjvf qs_${version}.tar.bz2 teamviewerqs custompart-qs
 
tar -cjvf qs_${version}.tar.bz2 teamviewerqs custompart-qs
 +
</pre>
 +
*Create inf file.
 +
<pre>
 +
cat <<EOF > qs.inf
 +
[INFO]
 +
[PART]
 +
file="qs_${version}.tar.bz2"
 +
version="${version}"
 +
size="500M"
 +
name="qs"
 +
minfw="11.03.500"
 +
EOF
 
</pre>
 
</pre>

Revision as of 15:38, 3 August 2020

  • Work in progress.
wget https://download.teamviewer.com/download/version_11x/teamviewer_qs.tar.gz
tar -xf teamviewer_qs.tar.gz
  • Starting from the terminal on a Ubuntu VM was
LC_ALL=C ./teamviewer
  • Initialization script based on Zoom script from Igel. I named it custompart-qs to stay conistant.
#!/bin/sh

ACTION="custompart-qs_${1}"

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

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

# 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
  • Create the partition.
chmod +x custompart-zoom
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