Maurizio Firmani wrote:
> Just typing:
>
> find /tmp -ctime +1 -type s -exec rm -f \{\} \;
>
> which means "Starting from /tmp find all the stuff which satisfies the
> following condition":
>
> -they are created more than 1 day ago (-ctime +1)
> -they are socket (-type s)
>
> and remove them (-exec rm -f \{\} \;).
> inside the command given by exec the "{}" is a synonimous of the file which is
> being elaborated.
>
> The question, now, is:
>
> Where do I put this command to be executed at boot time? Maybe, in boot.local?
> Are there better places?
Yes, boot.local is a very good place for such things. Probably at the end of the
script, following the call on rc.config.
Paul
--
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html