|
|
@ -14,9 +14,9 @@
|
|
|
|
# limitations under the License.
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
|
|
|
|
run_script() {
|
|
|
|
run_script() {
|
|
|
|
if [ -e '/usr/sbin/cl-desktop' ];
|
|
|
|
if [ -e '/usr/bin/cl-desktop' ];
|
|
|
|
then
|
|
|
|
then
|
|
|
|
ERRORLOG=`/usr/sbin/cl-desktop --gui-progress $USER 2>&1`
|
|
|
|
ERRORLOG=`/usr/bin/cl-desktop --gui-progress $USER 2>&1`
|
|
|
|
# raise xmessage error if cl-desktop failed
|
|
|
|
# raise xmessage error if cl-desktop failed
|
|
|
|
if [ "$?" -gt "0" ];
|
|
|
|
if [ "$?" -gt "0" ];
|
|
|
|
then
|
|
|
|
then
|
|
|
|