Re: Can't run KDE after cvsup

From: Doug Barton <dougb_at_FreeBSD.org>
Date: Tue, 27 Dec 2005 15:23:35 -0800
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 "$_at_" || 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
Received on Tue Dec 27 2005 - 22:23:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:49 UTC