Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Sep 2010 21:18:14 +0200
From:      =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= <faust64@gmail.com>
To:        Martin McCormick <martin@dc.cis.okstate.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Need to run a Command Once on Boot. FreeBSD8.1
Message-ID:  <AANLkTimfPgtKSdSEreuCbre=iFF2wEUCMQsc8cgE8vfQ@mail.gmail.com>
In-Reply-To: <201009031913.o83JDXOt054359@dc.cis.okstate.edu>
References:  <201009031913.o83JDXOt054359@dc.cis.okstate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
creating a /etc/rc.local that rm itself?
or, if you already have a rc.local, calling there a script that would self
desctruct after beeing launched.


Samuel Mart=EDn Moro
{EPITECH.} tek4
CamTrace S.A.S
  (+033) 1 41 38 37 60
  1 All=E9e de la Venelle
  92150 Suresnes
  FRANCE

"Nobody wants to say how this works.
  Maybe nobody knows ..."
                      Xorg.conf(5)


On Fri, Sep 3, 2010 at 9:13 PM, Martin McCormick
<martin@dc.cis.okstate.edu>wrote:

>        I seem to recall that there is some sort of stub that
> will let one execute a script which runs at the last stage of
> the boot process but I can't seem to remember enough to look it
> up.
>
>        I need to run a small script to do pwd_mkdb just once to
> sync the passwd data base after booting a 8.1 system for the
> first time. The system is being built via script and
> /etc/master.passwd has a couple of accounts that the data base
> doesn't know about. After running pwd_mkdb against
> /etc/master.passwd, all is well but we are locked out of the
> system until this happens.
>
>        I may even make the script destroy itself after
> launching since it never needs to run after that one time.
>
>        Thanks.
>
> 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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimfPgtKSdSEreuCbre=iFF2wEUCMQsc8cgE8vfQ>