Improve leafnode
- From: dgiglio@xxxxxx (daniele.g)
- Date: Mon, 28 May 2012 16:38:12 +0200
Leafnode on Debian uses a script do-fetch-news, which cron run
periodically, that checks the variable $NETWORK in
/etc/news/leafnode/debian-config. This variable can have two possible
values: "PPP" and "permanent".
I think that a third value is missing, we can call it "online". Useful
when leafnode runs on mobile devices for example.
Can you suggest me a brief way to improve it. I suppose I can insert a
script in /etc/network/if-up.d/ which checks when online and thes edits
/etc/news/leafnode/debian-config accordingly. I also noticed that exists
another script, network-test, that I can use for this. But I have one
questions:
1. I don't understand if to trigger a script putting it into
/etc/network/if-up.d/ is enough to run it when an interface goes up.
Any clue?
Thanks in advance.
--
Un cinico e' uno che quando annusa i fiori cerca intorno la bara.
-- Russel Lynes
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/87fwak1icr.fsf@xxxxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: Improve leafnode
- From: Camaleón
- Re: Improve leafnode
- Prev by Date: Re: Problem with Iceweasel and low-quality fonts
- Next by Date: libmx-1.0-2 : Depends: libmx-common (= 1.4.5-1) but 1.4.6-1 is installed
- Previous by thread: Regarding NFQ
- Next by thread: Re: Improve leafnode
- Index(es):
Relevant Pages
|