Message from discussion /etc/init.dboot.local
Received: by 10.205.123.145 with SMTP id gk17mr5638128bkc.2.1351390683400;
Sat, 27 Oct 2012 19:18:03 -0700 (PDT)
From: Cecil Westerhof <Ce...@decebal.nl>
Subject: Re: /etc/init.dboot.local
Organization: Decebal Computing
Date: Sun, 28 Oct 2012 03:15:23 +0100
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)
NNTP-Posting-Host: 184.108.40.206 (220.127.116.11)
NNTP-Posting-Date: Sun, 28 Oct 2012 03:16:46 +0100
Content-Type: text/plain; charset=utf-8
Op zondag 28 okt 2012 00:25 CEST schreef G├╝nther Schwarz:
>> I installed leafnode. With cron I fetch every hour the new articles.
>> Because of this I want to also fetch the news when booting. For this I
>> added the script I am using to fetch the articles to:
>> But the script is not called when booting.
> Boot.local is processed prior to the network setup just after file
> systems are mounted. That is too early for leafnode.
That was at that moment not the problem. I used:
But when boot.local is run HOME is not defined.
So I changed it to:
But then the network was not up. So I changed it to:
echo /root/bin/leafnodeFetch.sh | at now +1 minutes
>> Do I need to do something else?
> Rather than using the preconfigured boot.local you might want to set up a
> separate script for init and make sure that the SUSE specific headers
> specify execution after the network is available.
I have a working solution, but in principal is this better of-course.
How should I implement this?
Senior Software Engineer