Rename cl-createhome running to cl-desktop

master3.3
Mike Hiretsky 14 years ago
parent 76531d4adc
commit e0e02f3382

@ -17,14 +17,14 @@ env-update
source /etc/profile
source /usr/share/calculate-2.2/xdm/functions
if [ -e '/usr/bin/cl-createhome' ];
if [ -e '/usr/bin/cl-desktop' ];
then
ERRORLOG=`/usr/bin/cl-createhome --progress --color=never $USER 2>&1`
ERRORLOG=`/usr/bin/cl-desktop --progress --color=never $USER 2>&1`
# при неудачном выполнении, сгенерируем ошибку
if [ "$?" -gt "0" ];
then
echo "$ERRORLOG" >> $FILE_LOG
xmes cl-createhome "$ERRORLOG"
xmes cl-desktop "$ERRORLOG"
exit 1
fi
fi

Loading…
Cancel
Save