Can't run KDE after cvsup

Doug Barton dougb at FreeBSD.org
Tue Dec 27 15:23:58 PST 2005


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


More information about the freebsd-current mailing list