Исправление скриптов для новых путей

master-3.5 3.5.0
parent ed86b6b35e
commit a9125f0c51

@ -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"

@ -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

@ -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

Loading…
Cancel
Save