TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:17836] Fun with bash



Andy Zbikowski said:
> Bunch of stuff I got tired of typing:
> 
> NT droped the Samba connection again...
> #!/bin/sh
> umount /mnt/ltiflex/ltirdbms/andyzb
> sleep 2
> mount /mnt/ltiflex/ltirdbms/andyzb

How'd you get that to work?  (Or do you only do it as root?)  I've set up my
smbmounts with a 'user' param and I'm able to _un_mount them as a normal
user, but I still have to su to mount them.

-- 
"Two words: Windows survives." - Craig Mundie, Microsoft senior strategist
"So does syphillis. Good thing we have penicillin." - Matthew Alton
Geek Code 3.1:  GCS d- s+: a- C++ UL++$ P+>+++ L++>++++ E- W--(++) N+ o+ !K
w---$ O M- !V PS+ PE Y+ PGP t 5++ X+ R++ tv- b++ DI++++ D G e* h+ r++ y+