Re: [WinMac] Serial Port for B&W G3 Macs
John C. Welch(jwelch[at]aer.com)
Thu, 1 Apr 1999 11:32:16 -0600
ave maria, do we need the bowling ball to fall on the seesaw and launch
the egg...
Look, here's a simpler idea, and it works with 8.5.1 regardless of
hardware version
1) create an empty folder in the root of your mac system disk, call it shutdown
2) put an alias of this folder in your startup items, so it is always
opened on startup
3) make this a share point, but only allow write access to a specific user
3) create two folder action scripts
a) the first one re-opens the folder if it is closed. (the big
limitation in folder actions is the folder
must be opened.
b) the second one, when anything is added to this folder tells the
system to:
i) quit all running applications other than the
finder, without saving.
ii) shutdown the computer.
4) then have another computer that CAN receive notices from the ups have
a script in it's shutdown items folder that mounts the server's
'shutdown' folder as the appropriate user, and copies a text, or any
other small file into that folder. Voila, the server exits with some grace
There are some decent examples of folder actions on Apple's applescript
website, or I can help you. Either way, it isn't hard to do, and it
makes better use of the OS's capabilities than the kludge below.
john
"Daniel L. Schwartz" wrote:
>
> Dear Matti,
>
> In regards to the Uninterruptible Power Supply (UPS), yes
>and no... With
> ASIP running on top of MacOS 8.5.1, it probably would work. With OS/X
> server, most likely not because there is no software to monitor the port
> and initiate the graceful shutdown.
>
[excessively long quote deleted]
* Windows-MacOS Cooperation List *
This archive was generated by hypermail 2.0b2
on Thu Apr 01 1999 - 09:38:44 PST
|
|