From a9125f0c519d4e350cc11dd346853184919acae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A5=D0=B8=D1=80=D0=B5=D1=86=D0=BA=D0=B8=D0=B9=20=D0=9C?= =?UTF-8?q?=D0=B8=D1=85=D0=B0=D0=B8=D0=BB?= Date: Fri, 11 Nov 2016 17:43:11 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=81=D0=BA=D1=80=D0=B8=D0=BF=D1=82?= =?UTF-8?q?=D0=BE=D0=B2=20=D0=B4=D0=BB=D1=8F=20=D0=BD=D0=BE=D0=B2=D1=8B?= =?UTF-8?q?=D1=85=20=D0=BF=D1=83=D1=82=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/client | 6 +++--- data/login.d/10client | 4 ++-- data/logout.d/10client | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/data/client b/data/client index 856b70c..4970812 100644 --- a/data/client +++ b/data/client @@ -62,10 +62,10 @@ start() { fi if [[ -z $SERVER ]] then - LANG=C cl-client -T ${TEMPLATES/,remote/} $SERVERLIVE && res=$? && - cl-setup-system -T remote &>/dev/null + LANG=C /usr/bin/cl-client -T ${TEMPLATES/,remote/} $SERVERLIVE && res=$? && + /usr/bin/cl-setup-system -T remote &>/dev/null else - LANG=C cl-client --mount + LANG=C /usr/bin/cl-client --mount fi res=$? eend $res "Some samba remote resources to mount" diff --git a/data/login.d/10client b/data/login.d/10client index ab878e4..28a8f14 100644 --- a/data/login.d/10client +++ b/data/login.d/10client @@ -14,11 +14,11 @@ # limitations under the License. run_script() { - if [ -e '/usr/sbin/cl-client-sync-login' ]; + if [ -e '/usr/bin/cl-client-sync-login' ]; then if [[ "${DOMAIN_USER}" == "on" ]] then - ERRORLOG=`/usr/sbin/cl-client-sync-login --gui-progress --gui-warning $USER 2>&1` + ERRORLOG=`/usr/bin/cl-client-sync-login --gui-progress --gui-warning $USER 2>&1` # log error if [ "$?" -gt "0" ]; then diff --git a/data/logout.d/10client b/data/logout.d/10client index f46f175..cadbf45 100644 --- a/data/logout.d/10client +++ b/data/logout.d/10client @@ -14,11 +14,11 @@ # limitations under the License. run_script() { - if [ -e '/usr/sbin/cl-client-sync-logout' ]; + if [ -e '/usr/bin/cl-client-sync-logout' ]; then if [[ "${DOMAIN_USER}" == "on" ]] then - ERRORLOG=`/usr/sbin/cl-client-sync-logout $USER 2>&1` + ERRORLOG=`/usr/bin/cl-client-sync-logout $USER 2>&1` # log errors if [ "$?" -gt "0" ]; then