Date: Tue, 27 Dec 2005 15:23:35 -0800 From: Doug Barton <dougb@FreeBSD.org> To: Giorgos Keramidas <keramida@ceid.upatras.gr> Cc: freebsd-current@FreeBSD.org, Nicolas Blais <nb_root@videotron.ca> Subject: Re: Can't run KDE after cvsup Message-ID: <43B1CCF7.20204@FreeBSD.org> In-Reply-To: <20051227150422.GA1216@flame.pc> References: <200512261517.23498.nb_root@videotron.ca> <200512261538.53467.nb_root@videotron.ca> <20051227020910.GA19581@flame.pc> <43B0F4EB.7040702@FreeBSD.org> <20051227150422.GA1216@flame.pc>
next in thread | previous in thread | raw e-mail | index | archive | help
Giorgos Keramidas wrote: > The cleartmp_prestart() function runs only when the script runs with > $1 set to 'start', but the boot process calls the script with > 'faststart'. Duh, sorry I missed this, total brain vacation on my part. I fixed this for one of the ports scripts, and forgot to do it here. > Even when I change cleartmp to recognise faststart, onestart, start > and forcestart, the cleartmp_prestart() function runs before > cleartmp_start(), creates the directories, only to have them deleted > immediately by cleartmp_start() when run_rc_command is called. > > I'm not sure if there's a good way to modify cleartmp to do both things > correctly, at least without something equally hackish like: > > run_rc_command "$@" || exit $? > > case $1 in *start) It's still a little hackish, but it works. I just added the X directories to the exclude list for find so they won't be deleted now. Thanks for the reminder. Doug -- This .signature sanitized for your protection
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43B1CCF7.20204>