diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 22:38:19 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 22:38:19 +0000 |
commit | 666914bb6cc78d5364a5f23283226c9701eb9935 (patch) | |
tree | d38333b2c6a21d85b8a686dd5c3aeea43389ff55 /net-misc/teamviewer/files/teamviewerd.init | |
parent | f0dcd9fa03a11542d17c7e215ff760736612cef3 (diff) |
net-misc/{dropbox,teamviewer} : drop our ebuilds
Diffstat (limited to 'net-misc/teamviewer/files/teamviewerd.init')
-rw-r--r-- | net-misc/teamviewer/files/teamviewerd.init | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/net-misc/teamviewer/files/teamviewerd.init b/net-misc/teamviewer/files/teamviewerd.init deleted file mode 100644 index a8966dc1..00000000 --- a/net-misc/teamviewer/files/teamviewerd.init +++ /dev/null @@ -1,31 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -command=/opt/teamviewer@TVV@/tv_bin/teamviewerd -command_args=-d -description="daemon for TeamViewer" -pidfile=/var/run/teamviewerd.pid - -extra_stopped_commands="passwd" - -passwd() { - if [ -z "${PASSWD}" ]; then - eerror "No password specified." - exit 1 - fi - - ebegin "Attempting to change password." - /opt/teamviewer@TVV@/tv_bin/teamviewerd --passwd "${PASSWD}" - retr=$? - case $retr in - 0) einfo "Password successfully set." ;; - 11|12) eerror "Password must be between 8 and 12 characters.";; - 13) eerror "Invalid characters detected.";; - 14) eerror "Password invalid. Validation failed.";; - *) eerror "Unknown error code";; - esac - eend $retr - exit $retr -} |