Unix Technical Forum

dot-login problem

This is a discussion on dot-login problem within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> hello, I hope someone knows why my desktopmanager(KDM) stops loading when the commented line in my .login file (which ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 03:18 PM
Ernst
 
Posts: n/a
Default dot-login problem

hello,
I hope someone knows why my desktopmanager(KDM) stops loading when the
commented line in my .login file (which is run by a tcsh shell) is
executed:

---------------------------------------------------------------------
echo "Connecting my ip number to http://ernesto.redirectme.net....."
set noip=`ps -A | grep noip2`
echo "noip is $noip"
if ( "$noip" == "" ) then
echo "noip2 still has to be initialized"
if ( -x /addlin/users/ernesto/tools/noip/noip2) then

# /addlin/users/ernesto/tools/noip/noip2 &

endif
else
echo "noip2 was already started"
endif
echo "Done!"
---------------------------------------------------------------------

Many thanks for any help, it is puzzling me for days now...
note: when I run this shell script after the desktop is loaded,
it works out ok.

Ernst
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 03:18 PM
buck
 
Posts: n/a
Default Re: dot-login problem

On Tue, 07 Sep 2004 14:46:50 +0200, Ernst <ernstjaarsma@hotmail.com>
wrote:

> if ( -x /addlin/users/ernesto/tools/noip/noip2) then
>
># /addlin/users/ernesto/tools/noip/noip2 &

SOMETHING has to be here! A commented line is not "something".
>
> endif
>Ernst



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 03:18 PM
Ernst
 
Posts: n/a
Default Re: dot-login problem

On Tue, 07 Sep 2004 09:24:56 -0700, buck wrote:

> On Tue, 07 Sep 2004 14:46:50 +0200, Ernst <ernstjaarsma@hotmail.com>
> wrote:
>
>> if ( -x /addlin/users/ernesto/tools/noip/noip2) then
>>
>># /addlin/users/ernesto/tools/noip/noip2 &

> SOMETHING has to be here! A commented line is not "something".
>>
>> endif
>>Ernst


The comment is there because otherwise the system will hang... Unless I
run the script directly from the shell (tcsh) after KDE is loaded all the
way. (noip2 is an executable binary)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 03:21 PM
William Maddler
 
Posts: n/a
Default Re: dot-login problem

on Tuesday 07 September 2004 23:30 Ernst was babbling of...

> On Tue, 07 Sep 2004 09:24:56 -0700, buck wrote:


> The comment is there because otherwise the system will hang... Unless I
> run the script directly from the shell (tcsh) after KDE is loaded all the
> way. (noip2 is an executable binary)


put the comment on the whole if [...] fi stuff...

--
William Maddler
http://www.personepigre.it
http://www.maddler.net

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:37 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com