[OpenAFS-devel] [OSX] Service startup proposal

Sebastian Hagedorn Hagedorn@uni-koeln.de
Thu, 09 Mar 2006 14:03:22 +0100


--==========21F82F5AF5E60C560953==========
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,

--On 8. M=E4rz 2006 19:01:02 +0100 Franco Milicchio=20
<milicchio@dia.uniroma3.it> wrote:

> In /etc/hostconfig I'd add a line corresponding to the start-at-boot
> flag:
>
> OPENAFS=3D-YES-
> OPENAFS=3D-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}:=3DYES" =3D "-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=20
port-darwin@openafs.org or even for openafs-bugs@openafs.org (as a feature=20
request).

Cheers, Sebastian Hagedorn
--=20
     .:.Sebastian Hagedorn - RZKR-R1 (Geb=E4ude 52), Zimmer 18.:.
Zentrum f=FCr angewandte Informatik - Universit=E4tsweiter Service RRZK
.:.Universit=E4t zu K=F6ln / Cologne University - Tel. +49-221-478-5587.:.
                   .:.:.:.Skype: shagedorn.:.:.:.
--==========21F82F5AF5E60C560953==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEECeaGXsGmU0QW0URAhgfAKCg+u6W8OIY6Zf8kvodLwcas1E9yACfZ9E3
Xm6Q3V8y5XZfWBJ4u43cpPQ=
=TubD
-----END PGP SIGNATURE-----

--==========21F82F5AF5E60C560953==========--