Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

graouts (2892)

graouts
  (email not shown publicly)
AOL IM: graouts@mac.com (Add Buddy, Send Message)

Antoine Quint is an SVG Consultant and Research Engineer at Fuchsia Design in Paris, France, where he lives with his cat Stig Elmer. He also likes to tell people about XML and SVG at conferences held in nice places, write his "Sacré SVG!" column for XML.com and attend meetings of the W3C SVG Working Group -- to which he is an invited expert. He's also got a book in the works with his friend Robin Berjon.

Journal of graouts (2892)

Tuesday January 21, 2003
07:01 AM

Automatic mount at log-in on OS X

[ #10098 ]

Yesterday Paul provided some help resolving the automatic XP share mounting at system login on OS X. I researched thing a bit further and came up with a pretty good solution with some help from my friend William Dell Wisner.

I created two shell (could/should be Perl as Robin noticed) scripts, one for login mounting the XP share and another one for logout umounting the share. Then I edited the /etc/ttys file and edited the console line to add something that looks like:

console "/System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow -LoginHook /Users/antoine/Scripts/Bender_mount.sh -LogoutHook /Users/antoine/Scripts/Bender_umount.sh" vt100 on secure window=/System/Library/CoreServices/WindowServer onoption="/usr/libexec/getty std.9600"

This solved the case!

-- junior

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.