Date: Fri, 18 May 2001 00:30:03 -0700 (PDT) From: Mike Meyer <mwm@mired.org> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/27418: There are *no* examples of using /etc/ttys inittab-like feature Message-ID: <200105180730.f4I7U3230944@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/27418; it has been noted by GNATS. From: Mike Meyer <mwm@mired.org> To: Dima Dorfman <dima@unixfreak.org> Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: conf/27418: There are *no* examples of using /etc/ttys inittab-like feature Date: Fri, 18 May 2001 02:25:44 -0500 Dima Dorfman <dima@unixfreak.org> types: > mwm@mired.org writes: > > > > >Number: 27418 > > >Category: conf > > >Synopsis: There are *no* examples of using /etc/ttys inittab-like feature > > --- /etc/ttys Thu May 17 18:31:22 2001 > > +++ /tmp/ttys Thu May 17 18:38:10 2001 > > @@ -46,6 +46,10 @@ > > ttyd1 "/usr/libexec/getty std.9600" dialup off secure > > ttyd2 "/usr/libexec/getty std.9600" dialup off secure > > ttyd3 "/usr/libexec/getty std.9600" dialup off secure > > +# Daemon example > > +# This will make init run /tmp/testd with an argument of "Example", restarti > > ng > > +# it whenever it exits. > > +Example "/usr/libexec/sampledaemon" none off > > So is it /tmp/testd or /usr/libexec/sampledaemon? Or am I missing something? No, you're not missing anything. I did it as "/tmp/testd" when I tested it, and changed it halfway through - but only got one of the two places with the file name. The example quoted will run /usr/libexec/sampledaemon. <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105180730.f4I7U3230944>