Forum: General
08-22-2007, 11:30 AM
|
Replies: 9
Views: 15,246
Guys, don't be frustrated. There's a script at...
Guys, don't be frustrated. There's a script at that above URL that I run at the end of every SD run that unmounts the sparseimages, or any other AFP mounts for that matter.
Here's the gist of it....
|
Forum: General
08-21-2007, 02:05 PM
|
Replies: 9
Views: 15,246
|
Forum: General
08-21-2007, 01:55 PM
|
Replies: 16
Views: 29,251
|
Forum: General
05-11-2007, 06:18 PM
|
Replies: 16
Views: 29,251
Chris,
Your hacks are beautiful. In some...
Chris,
Your hacks are beautiful. In some preliminary testing here with multiple AFP mounts, the perl version (the only one I'm testing), works great. Just so you know here's what some of my afp...
|
Forum: General
05-11-2007, 11:15 AM
|
Replies: 16
Views: 29,251
Chris,
Thanks for the refinements and...
Chris,
Thanks for the refinements and examples. I'm really just a shell scripting newbie. I love the ability to do so much with a small amount of code.
Though as I've just discovered all this...
|
Forum: General
05-11-2007, 12:56 AM
|
Replies: 16
Views: 29,251
This will/should work for multiple attached...
This will/should work for multiple attached network AFP mounts. I'm sure something similar would work for any other mount type.
#!/usr/bin/env bash
sleep 45
if [[ `mount | awk '/^afp_/'` !=...
|
Forum: General
05-11-2007, 12:37 AM
|
Replies: 16
Views: 29,251
What can I say, I don't have an SMB mounted...
What can I say, I don't have an SMB mounted drive. If you can provide me with the results of a 'mount' command with and SMB mounted drive I'm sure I can adapt the script for that as well.
You...
|
Forum: General
05-11-2007, 12:30 AM
|
Replies: 16
Views: 29,251
|
Forum: General
05-10-2007, 07:44 PM
|
Replies: 7
Views: 18,974
See this thread....
See this thread. (http://www.shirt-pocket.com/forums/showthread.php?p=12047#poststop) In it I wrote a script that will do exactly this.
|
Forum: General
05-10-2007, 06:40 PM
|
Replies: 16
Views: 29,251
|
Forum: General
05-09-2007, 05:51 PM
|
Replies: 7
Views: 18,974
In this thread...
In this thread (http://www.shirt-pocket.com/forums/showthread.php?t=2378), I wrote about a script I did to unmount network AFP drives. It does this when the script notices a router change but it can...
|
Forum: General
05-09-2007, 05:26 PM
|
Replies: 2
Views: 7,929
See this thread....
See this thread. (http://www.shirt-pocket.com/forums/showthread.php?t=2378)
|
Forum: General
05-09-2007, 05:24 PM
|
Replies: 16
Views: 29,251
I've written a shell script that will do...
I've written a shell script that will do something just like this. What it does is check the MAC address of your current router. If that MAC address has changed then it will force dismount any AFP...
|