Hi,

I'd like to mount automatically a samba account when I log in a graphic 
session. Up to now, I have modified the bashrc file so that it logs in. 
Unfortunately, it mounts my account each time I run a new terminal which 
is annoying as it takes two seconds. Therefore, I would like to test if 
my connection is active or not. If I was not connected then I'd like to 
connect. Is it possible ?

The conditionnal test would be:

if disconnected then
        smbmount....
end

Do you have an idea to realize this test ?

Thank you,

Frédéric


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to