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

master-3.5 3.5.0
parent ed86b6b35e
commit a9125f0c51

@ -62,10 +62,10 @@ start() {
fi fi
if [[ -z $SERVER ]] if [[ -z $SERVER ]]
then then
LANG=C cl-client -T ${TEMPLATES/,remote/} $SERVERLIVE && res=$? && LANG=C /usr/bin/cl-client -T ${TEMPLATES/,remote/} $SERVERLIVE && res=$? &&
cl-setup-system -T remote &>/dev/null /usr/bin/cl-setup-system -T remote &>/dev/null
else else
LANG=C cl-client --mount LANG=C /usr/bin/cl-client --mount
fi fi
res=$? res=$?
eend $res "Some samba remote resources to mount" eend $res "Some samba remote resources to mount"

@ -14,11 +14,11 @@
# limitations under the License. # limitations under the License.
run_script() { run_script() {
if [ -e '/usr/sbin/cl-client-sync-login' ]; if [ -e '/usr/bin/cl-client-sync-login' ];
then then
if [[ "${DOMAIN_USER}" == "on" ]] if [[ "${DOMAIN_USER}" == "on" ]]
then 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 # log error
if [ "$?" -gt "0" ]; if [ "$?" -gt "0" ];
then then

@ -14,11 +14,11 @@
# limitations under the License. # limitations under the License.
run_script() { run_script() {
if [ -e '/usr/sbin/cl-client-sync-logout' ]; if [ -e '/usr/bin/cl-client-sync-logout' ];
then then
if [[ "${DOMAIN_USER}" == "on" ]] if [[ "${DOMAIN_USER}" == "on" ]]
then then
ERRORLOG=`/usr/sbin/cl-client-sync-logout $USER 2>&1` ERRORLOG=`/usr/bin/cl-client-sync-logout $USER 2>&1`
# log errors # log errors
if [ "$?" -gt "0" ]; if [ "$?" -gt "0" ];
then then

Loading…
Cancel
Save