From owner-freebsd-questions@FreeBSD.ORG Mon Mar 27 05:45:18 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16AF316A400 for ; Mon, 27 Mar 2006 05:45:18 +0000 (UTC) (envelope-from maxsec@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91D8243D48 for ; Mon, 27 Mar 2006 05:45:17 +0000 (GMT) (envelope-from maxsec@gmail.com) Received: by wproxy.gmail.com with SMTP id 70so1331271wra for ; Sun, 26 Mar 2006 21:45:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=PrF92SiuDyQ42NcygIAcoLBgefgNwKi3tYwcuQ1H7Bq46iuMGwIlHOFR32u4LbE0euMPQRsOcDMv+vCRZVWV/Oi1aZ1SzIusklJkMyDn9tC/xGNRJhGodqxPf5T5xZBTikbvOokCKA8mQFbCnh/9q1fpEdV4ZzxwLcbRRmDBovc= Received: by 10.64.184.3 with SMTP id h3mr1560907qbf; Sun, 26 Mar 2006 21:45:16 -0800 (PST) Received: by 10.64.208.20 with HTTP; Sun, 26 Mar 2006 21:45:16 -0800 (PST) Message-ID: <72cf361e0603262145y58c9a6f1o16a347773671a532@mail.gmail.com> Date: Mon, 27 Mar 2006 06:45:16 +0100 From: "Martin Hepworth" To: "Logan McNaughton" In-Reply-To: <6d356f6c0603261754v17ea2f9cg2befaa018b089a65@mail.gmail.com> MIME-Version: 1.0 References: <6d356f6c0603261754v17ea2f9cg2befaa018b089a65@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: running a program on startup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2006 05:45:18 -0000 Logon but a script into /usr/local/etc/rc.d and copy an existing on to get the syntax. -- martin On 3/27/06, Logan McNaughton wrote: > > Hey, ive been looking around on how to run a program when FreeBSD starts, > vncserver > > the command I need to be run is: > /usr/X11R6/bin/vncserver -geometry 800x600 > > im not really sure how to make a .sh script, what would the script need t= o > be, or would there be an easier way without putting a script in /etc/rc.d= ? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >