[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calling sharity light from rc.local
- To: kkonaka@mac.com
- Subject: Re: Calling sharity light from rc.local
- From: Alexander.Farber@t-online.de (Alexander Farber)
- Date: Sun, 31 Aug 2003 17:46:20 +0000
- Cc: ports@openbsd.org
- Content-Disposition: inline
- References: <20030628191518.GB23914@pref.my.domain> <labrwh2ir5.wl@mac.com>
- User-Agent: Mutt/1.5.4i
Thank you this has helped me (on -current/i386). Shouldn't
this be added to /usr/ports/net/sharity-light/patches?
On Sun, Jun 29, 2003 at 08:03:26AM -0400, kkonaka@mac.com wrote:
> > I've appended this piece to /etc/rc.local:
> > /usr/local/sbin/shlight //pref/pref /pref -n
> > Does anyone know, why doesn't it work for the 1st time?
>
> something like the below work at my place:
>
> $ diff -Nu Sharity-Light.1.2/nfs/mount.c~ Sharity-Light.1.2/nfs/mount.c
> --- Sharity-Light.1.2/nfs/mount.c~ 1998-11-16 12:04:07.000000000 -0500
> +++ Sharity-Light.1.2/nfs/mount.c 2003-06-29 07:57:12.000000000 -0400
> @@ -116,7 +116,11 @@
> SVCXPRT *nfsxprt;
> int bufsiz = 0xc000; /* room for a few biods */
>
> +#if 0
> signal(SIGHUP, do_unmount);
> +#else
> + signal(SIGHUP, SIG_IGN); /* just for now */
> +#endif
> signal(SIGINT, do_unmount);
> signal(SIGQUIT, do_unmount);
> signal(SIGILL, do_unmount);
> $