Hi,

--On 8. März 2006 19:01:02 +0100 Franco Milicchio <[EMAIL PROTECTED]> wrote:

In /etc/hostconfig I'd add a line corresponding to the start-at-boot
flag:

OPENAFS=-YES-
OPENAFS=-NO-

In /Library/StartupItems/OpenAFS/OpenAFS script, I'd modify the  startup
script adding at the top of StartService() the lines commonly  used in
system scripts like network time (or equivalent of course):

StartService()
{
    if [ "${OPENAFS}:=YES" = "-YES-" ]; then
       start afs
    else
       whatever
    fi
}

This way, a user can select wether or not to have AFS at boot, and
manually starting and stopping it. I'm writing a small applescript  for
this, easing some users of AFS with laptops. We use a lot AFS,  and many
would also use it on laptops, but network loss, AFS and  finder don't mix
:)

My idea in the future is to add some way an item to ``Sharing''
preferences to start and stop AFS, and set some options. Some way...  it
should be possible.

What do you think about this? Is it that stupid? :)

I think it's a good idea, but it might be more appropriate for [email protected] or even for [EMAIL PROTECTED] (as a feature request).

Cheers, Sebastian Hagedorn
--
    .:.Sebastian Hagedorn - RZKR-R1 (Gebäude 52), Zimmer 18.:.
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
.:.Universität zu Köln / Cologne University - Tel. +49-221-478-5587.:.
                  .:.:.:.Skype: shagedorn.:.:.:.

Attachment: pgp4nT52S367l.pgp
Description: PGP signature

Reply via email to