From owner-freebsd-questions@FreeBSD.ORG Sat Sep 4 10:32:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5979410656C4 for ; Sat, 4 Sep 2010 10:32:26 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 08C0F8FC12 for ; Sat, 4 Sep 2010 10:32:25 +0000 (UTC) Received: by qwg5 with SMTP id 5so2874278qwg.13 for ; Sat, 04 Sep 2010 03:32:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=rqNQhPN7OuGdJKEA72CL2TBABnCFNa3/QFgdlhyuoM4=; b=tZvtZJRLooyvvH95ZiDJBmknbm2f9LjnfBCy/TLULj+jdn/L7z2os4KCgfv6dLbLEN jY+dCBG04zjtgAolj8Frkh00Ch7Vl0g5VKMluwiY7AgCuzp+lGG6TpMPX0kj5fZwY83J XWgnEUvyayAKFa3WHy+MsFbU4Q9yuzxapCg2Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=C5cWrU4JG5dnkXEVLTQ9QG6vI0HMdHdtpKnK4u3vpCYLfGz9hfxw/XBl3NXAxfF3dG rE9lpxkcdbJQ+q+SicwGCq9a6e/RG90f4JRgsls8d9SqxTqMnPUBNw1MqTMmdMWgi4Rd nctCrxDBj3pQZmS5DRhgdX00RSa+FrvZnoJVM= Received: by 10.229.233.10 with SMTP id jw10mr1590667qcb.110.1283596345233; Sat, 04 Sep 2010 03:32:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.78.90 with HTTP; Sat, 4 Sep 2010 03:31:55 -0700 (PDT) In-Reply-To: <20100903200009.GA94476@eggman.experts-exchange.com> References: <201009031951.o83Jom6b092378@dc.cis.okstate.edu> <20100903200009.GA94476@eggman.experts-exchange.com> From: Odhiambo Washington Date: Sat, 4 Sep 2010 13:31:55 +0300 Message-ID: To: Jason Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Martin McCormick , freebsd-questions@freebsd.org Subject: Re: Need to run a Command Once on Boot. FreeBSD8.1 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: Sat, 04 Sep 2010 10:32:26 -0000 On Fri, Sep 3, 2010 at 11:00 PM, Jason wrote: > On Fri, Sep 03, 2010 at 02:50:48PM -0500, Martin McCormick thus spake: > > Robert Bonomi writes: >> >>> /etc/rc.local maybe? contrary to the 'rc.d' way of doing things, but >>> 'simple'. :) >>> >> >> Thanks so much to both people who answered. I thought >> there was more to it than that but I may be thinking of the >> rcx.d directories in Linux. If you don't watch out, you can be >> scratching your head all day trying to figure out why the job >> isn't getting done. I use and like both FreeBSD and Linux but >> some things are easier in one than the other. >> >> Again, many thanks. >> > > man 5 crontab has: > > @reboot Run once, at startup But this will always run every reboot, no? I think there used to be something along the lines of rc.early which could do what he wants. Then you can schedule a task to delete rc.early once it's served it's purpose:) > > > >> Martin McCormick WB5AGZ Stillwater, OK >> Systems Engineer >> OSU Information Technology Department Telecommunications Services Group >> > _______________________________________________ > 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" > -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube