[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Eeek?! smbmount is deprecated?!



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gabriel Parrondo yazmış:
> El jue, 12-07-2007 a las 16:37 +0300, tejas escribió:
> [...]
>> echo "unmounting shares..."
>> sudo /home/tejas/Desktop/ayir # unmount script
>>
> [...]
>> and ayir: (unmount script)
>>
>> #! /bin/bash	
>> SHA="masaustu firefox thunderbird Downloads"
>> if [ `whoami` != "root" ]; then echo "you must be root"; exit; fi
>>
>> 	for i in $SHA; do
>> 		sudo umount -l /home/tejas/Desktop/$i
> 
> Just a silly correction: the script only gets to this point if it's
> running as root, therefore the 'sudo' here is not necessary.
> 
>> 		sleep 5
>> 	done
>>
> [...]
Oh, thanks for the correction.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEVAwUBRpdBnHCg+7fCe3L1AQLEzQgAsjQhE4PoERykPpne+nFztYik/i8l+kju
O66M1S2yNrk3b6vjwlUeZBxcenj6WFsuJRYKPZmQxYNvecZgEV9O2sLSse7yHWjg
nk2JbL+f8Rm9icahh6w7UpdQIn8jJgkMAj1SVoKyZDxi6T04UiXeOfXuysDh/A85
qakLZ25r7PlXqOhSPuKTBlscnKFYJO6IMPkAVTnIGFIA3ghJQtWvzuhdi4r5WEGM
dY6bCoH6HT1SZDniWf9wfG1dD9mbLgFJm3q9GYEx7mPxMbspxiUtY6dFwEuuJfp5
VhBouwjPuaA1nrE+LZ/SsqQDDPE20pGoOXvBM+Ue7nPHH+IVbDzQuw==
=mXMM
-----END PGP SIGNATURE-----



Reply to: